Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9811/0.9833, allocations: 178.9 MB / 1.34 GB, free: 16.33 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2807/1.264, allocations: 222.1 MB / 1.557 GB, free: 9.898 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04063/1.305, allocations: 26.77 MB / 1.583 GB, free: 15.04 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.307, allocations: 39.69 kB / 1.583 GB, free: 15 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/1.31, allocations: 1.197 MB / 1.584 GB, free: 13.8 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.009324/1.32, allocations: 3.235 MB / 1.588 GB, free: 10.55 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/1.325, allocations: 1.678 MB / 1.589 GB, free: 8.879 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005935/1.33, allocations: 3.829 MB / 1.593 GB, free: 5.043 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/1.333, allocations: 1.229 MB / 1.594 GB, free: 3.785 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00582/1.339, allocations: 2.378 MB / 1.596 GB, free: 1.398 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.342, allocations: 1.541 MB / 1.598 GB, free: 15.85 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005089/1.342, allocations: 124 kB / 1.598 GB, free: 15.73 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004685/1.347, allocations: 1.878 MB / 1.6 GB, free: 13.85 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/1.348, allocations: 0.8643 MB / 1.601 GB, free: 12.98 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002272/1.351, allocations: 1.177 MB / 1.602 GB, free: 11.8 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.006013/1.357, allocations: 3.031 MB / 1.605 GB, free: 8.754 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.357, allocations: 0 / 1.605 GB, free: 8.754 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.134e-06/1.357, allocations: 0 / 1.605 GB, free: 8.754 MB / 1.279 GB Notification: Performance of Transformations before backend: time 6.897e-05/1.357, allocations: 4 kB / 1.605 GB, free: 8.75 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005198/1.362, allocations: 2.956 MB / 1.608 GB, free: 5.727 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.362, allocations: 12.03 kB / 1.608 GB, free: 5.715 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.032e-05/1.362, allocations: 30.53 kB / 1.608 GB, free: 5.684 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/1.362, allocations: 202.6 kB / 1.608 GB, free: 5.477 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001921/1.364, allocations: 469.8 kB / 1.608 GB, free: 5.016 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/1.368, allocations: 2.775 MB / 1.611 GB, free: 2.172 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/1.368, allocations: 98.52 kB / 1.611 GB, free: 2.074 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.368, allocations: 124 kB / 1.611 GB, free: 1.953 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/1.371, allocations: 1.595 MB / 1.613 GB, free: 220 kB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/1.371, allocations: 11.89 kB / 1.613 GB, free: 208 kB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.371, allocations: 59.98 kB / 1.613 GB, free: 148 kB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/1.371, allocations: 97.83 kB / 1.613 GB, free: 52 kB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/1.373, allocations: 1.059 MB / 1.614 GB, free: 14.99 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/1.383, allocations: 8.458 MB / 1.622 GB, free: 6.035 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.384, allocations: 0.7117 MB / 1.623 GB, free: 5.277 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/1.385, allocations: 292.1 kB / 1.623 GB, free: 4.977 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/1.385, allocations: 0.6118 MB / 1.624 GB, free: 4.238 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.385, allocations: 42.86 kB / 1.624 GB, free: 4.188 MB / 1.295 GB Notification: Performance of pre-optimization done (n=50): time 3.226e-06/1.385, allocations: 4 kB / 1.624 GB, free: 4.184 MB / 1.295 GB Notification: Performance of matching and sorting (n=50): time 0.001937/1.387, allocations: 0.9877 MB / 1.625 GB, free: 3.188 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.388, allocations: 166.1 kB / 1.625 GB, free: 2.988 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006103/1.394, allocations: 4.702 MB / 1.63 GB, free: 14.28 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/1.394, allocations: 41.7 kB / 1.63 GB, free: 14.23 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009997/1.395, allocations: 1.071 MB / 1.631 GB, free: 13.15 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.395, allocations: 190.3 kB / 1.631 GB, free: 12.96 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.395, allocations: 94.25 kB / 1.631 GB, free: 12.87 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.395, allocations: 322 kB / 1.631 GB, free: 12.55 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/1.396, allocations: 217 kB / 1.632 GB, free: 12.34 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/1.396, allocations: 322.9 kB / 1.632 GB, free: 11.99 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/1.397, allocations: 0.5572 MB / 1.632 GB, free: 11.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.397, allocations: 7.938 kB / 1.632 GB, free: 11.39 MB / 1.311 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001527/1.399, allocations: 0.8159 MB / 1.633 GB, free: 10.57 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.399, allocations: 4 kB / 1.633 GB, free: 10.56 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.399, allocations: 4 kB / 1.633 GB, free: 10.56 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.399, allocations: 4 kB / 1.633 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.399, allocations: 107.8 kB / 1.633 GB, free: 10.45 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.399, allocations: 4.25 kB / 1.633 GB, free: 10.45 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/1.4, allocations: 103.2 kB / 1.633 GB, free: 10.34 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.4, allocations: 20 kB / 1.633 GB, free: 10.32 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000825/1.401, allocations: 0.5443 MB / 1.634 GB, free: 9.77 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/1.401, allocations: 246.3 kB / 1.634 GB, free: 9.527 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.403, allocations: 0.8042 MB / 1.635 GB, free: 8.711 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.403, allocations: 8 kB / 1.635 GB, free: 8.703 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.403, allocations: 7.938 kB / 1.635 GB, free: 8.695 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.403, allocations: 0 / 1.635 GB, free: 8.695 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/1.406, allocations: 2.092 MB / 1.637 GB, free: 6.523 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.406, allocations: 4 kB / 1.637 GB, free: 6.52 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/1.406, allocations: 103.8 kB / 1.637 GB, free: 6.418 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/1.406, allocations: 4 kB / 1.637 GB, free: 6.414 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/1.407, allocations: 12 kB / 1.637 GB, free: 6.402 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/1.407, allocations: 4 kB / 1.637 GB, free: 6.398 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.407, allocations: 7.938 kB / 1.637 GB, free: 6.391 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/1.408, allocations: 1.283 MB / 1.638 GB, free: 5.07 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008329/1.409, allocations: 431.3 kB / 1.639 GB, free: 4.629 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.41, allocations: 16 kB / 1.639 GB, free: 4.613 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/1.41, allocations: 19.92 kB / 1.639 GB, free: 4.594 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.41, allocations: 40.39 kB / 1.639 GB, free: 4.555 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/1.41, allocations: 12 kB / 1.639 GB, free: 4.543 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004472/1.415, allocations: 3.518 MB / 1.642 GB, free: 1.02 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.3e-07/1.415, allocations: 0 / 1.642 GB, free: 1.02 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001521/1.416, allocations: 483.1 kB / 1.643 GB, free: 0.5469 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004083/1.42, allocations: 2.257 MB / 1.645 GB, free: 14.37 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.421, allocations: 0.5219 MB / 1.646 GB, free: 13.85 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.421, allocations: 0 / 1.646 GB, free: 13.85 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/1.422, allocations: 287.1 kB / 1.646 GB, free: 13.57 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003954/1.426, allocations: 0.8547 MB / 1.647 GB, free: 12.71 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/1.455, allocations: 19.43 MB / 1.666 GB, free: 9.023 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/1.456, allocations: 1.635 MB / 1.667 GB, free: 7.359 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001434/1.458, allocations: 470.2 kB / 1.668 GB, free: 6.898 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.459, allocations: 0.9483 MB / 1.669 GB, free: 5.949 MB / 1.342 GB Notification: Performance of SimCode: time 1.102e-06/1.459, allocations: 0 / 1.669 GB, free: 5.949 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08929/1.548, allocations: 46.87 MB / 1.714 GB, free: 7.574 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/15.14, allocations: 12.05 kB / 1.714 GB, free: 7.562 MB / 1.389 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --stepSize=1 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.667921241023578]