Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.001675/0.001675, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002136/0.002136, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.888/1.888, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.354/3.354, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 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.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",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.00213/0.00213, allocations: 61.06 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3356, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2342/0.5698, allocations: 189.3 MB / 1.53 GB, free: 1.969 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.5854, allocations: 9.455 MB / 1.539 GB, free: 8.492 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.5868, allocations: 55.56 kB / 1.539 GB, free: 8.438 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.5889, allocations: 0.7924 MB / 1.54 GB, free: 7.641 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007603/0.5965, allocations: 3.023 MB / 1.543 GB, free: 4.605 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.6003, allocations: 1.454 MB / 1.545 GB, free: 3.152 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00472/0.605, allocations: 3.238 MB / 1.548 GB, free: 15.9 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.6064, allocations: 0.7727 MB / 1.548 GB, free: 15.11 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.6093, allocations: 1.316 MB / 1.55 GB, free: 13.79 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.612, allocations: 1.137 MB / 1.551 GB, free: 12.66 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.6122, allocations: 124 kB / 1.551 GB, free: 12.54 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005281/0.6175, allocations: 2.251 MB / 1.553 GB, free: 10.28 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007529/0.6182, allocations: 0.5101 MB / 1.554 GB, free: 9.766 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.6194, allocations: 0.6069 MB / 1.554 GB, free: 9.156 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005318/0.6247, allocations: 2.737 MB / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6247, allocations: 0 / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6247, allocations: 0 / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.6247, allocations: 0 / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004187/0.6289, allocations: 1.76 MB / 1.559 GB, free: 4.613 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6289, allocations: 12.03 kB / 1.559 GB, free: 4.602 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.625e-05/0.629, allocations: 22 kB / 1.559 GB, free: 4.578 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.6292, allocations: 156 kB / 1.559 GB, free: 4.418 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.6322, allocations: 434.7 kB / 1.559 GB, free: 3.992 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.6338, allocations: 0.8227 MB / 1.56 GB, free: 3.137 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.6339, allocations: 73.98 kB / 1.56 GB, free: 3.066 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.634, allocations: 92 kB / 1.56 GB, free: 2.977 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.6363, allocations: 1.399 MB / 1.562 GB, free: 1.492 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.6363, allocations: 11.89 kB / 1.562 GB, free: 1.48 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.6364, allocations: 43.98 kB / 1.562 GB, free: 1.438 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.6365, allocations: 53.92 kB / 1.562 GB, free: 1.387 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.6384, allocations: 1.073 MB / 1.563 GB, free: 320 kB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.6434, allocations: 3.146 MB / 1.566 GB, free: 13.09 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.6449, allocations: 0.7987 MB / 1.567 GB, free: 12.28 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.646, allocations: 0.5597 MB / 1.567 GB, free: 11.71 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/0.6463, allocations: 72.59 kB / 1.567 GB, free: 11.64 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6464, allocations: 43.2 kB / 1.567 GB, free: 11.59 MB / 1.264 GB Notification: Performance of pre-optimization done (n=82): time 2.846e-06/0.6464, allocations: 4 kB / 1.567 GB, free: 11.59 MB / 1.264 GB Notification: Performance of matching and sorting (n=83): time 0.004317/0.6507, allocations: 2.242 MB / 1.569 GB, free: 9.312 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.6508, allocations: 68.34 kB / 1.569 GB, free: 9.23 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.6516, allocations: 0.6411 MB / 1.57 GB, free: 8.578 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.6517, allocations: 41.7 kB / 1.57 GB, free: 8.531 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.6521, allocations: 460.9 kB / 1.571 GB, free: 8.074 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.6523, allocations: 309.3 kB / 1.571 GB, free: 7.77 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.6526, allocations: 134.6 kB / 1.571 GB, free: 7.633 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.6528, allocations: 398.7 kB / 1.571 GB, free: 7.234 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.6534, allocations: 321.8 kB / 1.572 GB, free: 6.922 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.654, allocations: 422.5 kB / 1.572 GB, free: 6.48 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.6552, allocations: 0.7807 MB / 1.573 GB, free: 5.676 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6552, allocations: 8 kB / 1.573 GB, free: 5.668 MB / 1.264 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001645/0.6569, allocations: 0.9468 MB / 1.574 GB, free: 4.707 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6569, allocations: 7.938 kB / 1.574 GB, free: 4.699 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6569, allocations: 4 kB / 1.574 GB, free: 4.695 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.6572, allocations: 65.02 kB / 1.574 GB, free: 4.629 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.6579, allocations: 151.8 kB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005444/0.6584, allocations: 0.6148 MB / 1.575 GB, free: 3.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.6592, allocations: 23.94 kB / 1.575 GB, free: 3.816 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.6592, allocations: 24 kB / 1.575 GB, free: 3.793 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004751/0.6597, allocations: 305.6 kB / 1.575 GB, free: 3.484 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.6599, allocations: 95.44 kB / 1.575 GB, free: 3.391 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.6615, allocations: 0.9285 MB / 1.576 GB, free: 2.453 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.6615, allocations: 8 kB / 1.576 GB, free: 2.445 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6615, allocations: 0 / 1.576 GB, free: 2.445 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/0.6629, allocations: 0.9271 MB / 1.577 GB, free: 1.473 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.666, allocations: 1.918 MB / 1.579 GB, free: 15.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.666, allocations: 0 / 1.579 GB, free: 15.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.667, allocations: 195.8 kB / 1.579 GB, free: 15.31 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.667, allocations: 3.938 kB / 1.579 GB, free: 15.31 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.6671, allocations: 23.94 kB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6671, allocations: 4 kB / 1.579 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6671, allocations: 0 / 1.579 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6692, allocations: 1.396 MB / 1.58 GB, free: 13.87 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.6696, allocations: 179.3 kB / 1.581 GB, free: 13.69 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6697, allocations: 16 kB / 1.581 GB, free: 13.68 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.6703, allocations: 32.88 kB / 1.581 GB, free: 13.64 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6705, allocations: 52.89 kB / 1.581 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.6705, allocations: 27.98 kB / 1.581 GB, free: 13.57 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0005794/0.6711, allocations: 455 kB / 1.581 GB, free: 13.12 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.6711, allocations: 0 / 1.581 GB, free: 13.12 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008635/0.672, allocations: 323.9 kB / 1.581 GB, free: 12.81 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.002696/0.6747, allocations: 2.043 MB / 1.583 GB, free: 10.74 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.6762, allocations: 0.7817 MB / 1.584 GB, free: 9.957 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6762, allocations: 0 / 1.584 GB, free: 9.957 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006514/0.6768, allocations: 409.6 kB / 1.585 GB, free: 9.559 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.6793, allocations: 0.588 MB / 1.585 GB, free: 8.988 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.6908, allocations: 7.561 MB / 1.592 GB, free: 1.246 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/0.6914, allocations: 0.532 MB / 1.593 GB, free: 0.6797 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009467/0.6923, allocations: 259.7 kB / 1.593 GB, free: 432 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006086/0.693, allocations: 391.3 kB / 1.594 GB, free: 40 kB / 1.279 GB Notification: Performance of SimCode: time 8.41e-07/0.693, allocations: 4 kB / 1.594 GB, free: 36 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6825/1.375, allocations: 30.59 MB / 1.623 GB, free: 262.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.91, allocations: 4.156 kB / 1.623 GB, free: 262.9 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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: 23.650218290975317]