Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.00182/0.00182, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002317/0.002317, allocations: 216.4 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.074/3.074, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",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.002923/0.002923, allocations: 70.97 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3259, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1996/0.5256, allocations: 170.5 MB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006208/0.5318, allocations: 3.791 MB / 1.495 GB, free: 3.445 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007267/0.5325, allocations: 27.81 kB / 1.495 GB, free: 3.418 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.5338, allocations: 457.1 kB / 1.496 GB, free: 2.969 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.5376, allocations: 1.552 MB / 1.497 GB, free: 1.41 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.541, allocations: 1.39 MB / 1.499 GB, free: 20 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.5431, allocations: 1.631 MB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5443, allocations: 0.8422 MB / 1.501 GB, free: 13.53 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.5462, allocations: 1.118 MB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.5474, allocations: 0.8369 MB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5476, allocations: 100 kB / 1.503 GB, free: 11.47 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.5498, allocations: 1.087 MB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.5503, allocations: 370.9 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.5508, allocations: 458.2 kB / 1.505 GB, free: 9.566 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.5537, allocations: 1.643 MB / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5537, allocations: 0 / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5537, allocations: 0 / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.5537, allocations: 0 / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002624/0.5563, allocations: 1.198 MB / 1.508 GB, free: 6.684 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5564, allocations: 8.031 kB / 1.508 GB, free: 6.676 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.5565, allocations: 94.52 kB / 1.508 GB, free: 6.574 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.5581, allocations: 239.2 kB / 1.508 GB, free: 6.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5591, allocations: 0.5538 MB / 1.508 GB, free: 5.754 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.5592, allocations: 37 kB / 1.509 GB, free: 5.719 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.5593, allocations: 55.98 kB / 1.509 GB, free: 5.664 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.561, allocations: 1.054 MB / 1.51 GB, free: 4.531 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.561, allocations: 7.938 kB / 1.51 GB, free: 4.523 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.5611, allocations: 20 kB / 1.51 GB, free: 4.504 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.5611, allocations: 35.92 kB / 1.51 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5628, allocations: 0.9953 MB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.5681, allocations: 3.72 MB / 1.514 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5692, allocations: 0.5548 MB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.57, allocations: 485.9 kB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.5707, allocations: 136.3 kB / 1.515 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.5707, allocations: 39 kB / 1.515 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002409/0.5731, allocations: 0.6322 MB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.427e-06/0.5731, allocations: 4 kB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01773/0.5909, allocations: 3.675 MB / 1.52 GB, free: 10.08 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.5909, allocations: 59.84 kB / 1.52 GB, free: 10.01 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.592, allocations: 0.7155 MB / 1.52 GB, free: 9.281 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.5922, allocations: 41.64 kB / 1.52 GB, free: 9.234 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.5925, allocations: 317 kB / 1.521 GB, free: 8.922 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.5927, allocations: 190.3 kB / 1.521 GB, free: 8.734 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.5929, allocations: 150 kB / 1.521 GB, free: 8.582 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5931, allocations: 322 kB / 1.521 GB, free: 8.262 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006886/0.5938, allocations: 396.8 kB / 1.522 GB, free: 7.875 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008228/0.5946, allocations: 0.5315 MB / 1.522 GB, free: 7.305 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.5961, allocations: 0.918 MB / 1.523 GB, free: 6.359 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5961, allocations: 4.031 kB / 1.523 GB, free: 6.355 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0114/0.6075, allocations: 2.557 MB / 1.526 GB, free: 3.781 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.6075, allocations: 4 kB / 1.526 GB, free: 3.777 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6076, allocations: 4 kB / 1.526 GB, free: 3.773 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009438/0.617, allocations: 1.726 MB / 1.527 GB, free: 2.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.6175, allocations: 95.86 kB / 1.527 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/0.6305, allocations: 6.876 MB / 1.534 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/0.6314, allocations: 20.05 kB / 1.534 GB, free: 10.81 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6315, allocations: 47.92 kB / 1.534 GB, free: 10.76 MB / 1.232 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004243/0.632, allocations: 214.4 kB / 1.534 GB, free: 10.54 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6322, allocations: 83.48 kB / 1.535 GB, free: 10.46 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/0.6372, allocations: 1.728 MB / 1.536 GB, free: 8.711 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6372, allocations: 8 kB / 1.536 GB, free: 8.703 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6372, allocations: 7.938 kB / 1.536 GB, free: 8.695 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6373, allocations: 3.984 kB / 1.536 GB, free: 8.691 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.6435, allocations: 2.386 MB / 1.539 GB, free: 6.23 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6435, allocations: 3.984 kB / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.6439, allocations: 87.89 kB / 1.539 GB, free: 6.141 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00348/0.6474, allocations: 0.794 MB / 1.539 GB, free: 5.34 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.6475, allocations: 16 kB / 1.539 GB, free: 5.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007139/0.6546, allocations: 4.603 MB / 1.544 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6546, allocations: 0 / 1.544 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/0.6601, allocations: 2.146 MB / 1.546 GB, free: 14.3 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.6606, allocations: 163.3 kB / 1.546 GB, free: 14.14 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.6607, allocations: 12 kB / 1.546 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.6613, allocations: 23.98 kB / 1.546 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.6615, allocations: 60.28 kB / 1.546 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.6615, allocations: 19.98 kB / 1.546 GB, free: 14.03 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006658/0.6622, allocations: 0.499 MB / 1.547 GB, free: 13.54 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6622, allocations: 0 / 1.547 GB, free: 13.54 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009378/0.6631, allocations: 291.8 kB / 1.547 GB, free: 13.25 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006023/0.6691, allocations: 2.794 MB / 1.55 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003609/0.6727, allocations: 1.414 MB / 1.551 GB, free: 8.969 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6728, allocations: 0 / 1.551 GB, free: 8.969 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.6747, allocations: 0.8595 MB / 1.552 GB, free: 8.078 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.6768, allocations: 459.4 kB / 1.552 GB, free: 7.625 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.7078, allocations: 10.43 MB / 1.563 GB, free: 13.02 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.7082, allocations: 389.3 kB / 1.563 GB, free: 12.62 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007305/0.709, allocations: 162.6 kB / 1.563 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.7094, allocations: 279.3 kB / 1.563 GB, free: 12.18 MB / 1.264 GB Notification: Performance of SimCode: time 1.603e-06/0.7094, allocations: 0 / 1.563 GB, free: 12.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07547/0.7849, allocations: 32.9 MB / 1.596 GB, free: 11.86 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.32, allocations: 15.42 kB / 1.596 GB, free: 11.85 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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: 20.468099305871874]