Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001639/0.001639, allocations: 97.31 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.002156/0.002156, allocations: 217.8 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.079/3.079, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",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.001958/0.001958, allocations: 60.53 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3321, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2099/0.542, allocations: 170.3 MB / 1.512 GB, free: 4.988 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00671/0.5487, allocations: 3.775 MB / 1.515 GB, free: 1.203 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.5496, allocations: 27.75 kB / 1.515 GB, free: 1.176 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.551, allocations: 457.1 kB / 1.516 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.555, allocations: 1.559 MB / 1.517 GB, free: 15.16 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.5589, allocations: 1.41 MB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002534/0.5614, allocations: 1.631 MB / 1.52 GB, free: 12.11 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.5626, allocations: 0.8422 MB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.5646, allocations: 1.118 MB / 1.522 GB, free: 10.13 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.5659, allocations: 0.9073 MB / 1.523 GB, free: 9.223 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.5661, allocations: 100 kB / 1.523 GB, free: 9.125 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.5684, allocations: 1.102 MB / 1.524 GB, free: 8.02 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.5688, allocations: 374.9 kB / 1.525 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005641/0.5694, allocations: 458.2 kB / 1.525 GB, free: 7.203 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.5719, allocations: 1.643 MB / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5719, allocations: 0 / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5719, allocations: 0 / 1.527 GB, free: 5.555 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.5719, allocations: 3.938 kB / 1.527 GB, free: 5.551 MB / 1.217 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.00279/0.5747, allocations: 1.196 MB / 1.528 GB, free: 4.316 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5747, allocations: 8.031 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.379e-05/0.5748, allocations: 13 kB / 1.528 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.5749, allocations: 94.52 kB / 1.528 GB, free: 4.195 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.5765, allocations: 239.2 kB / 1.528 GB, free: 3.961 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.5775, allocations: 0.5499 MB / 1.529 GB, free: 3.383 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.5776, allocations: 37 kB / 1.529 GB, free: 3.348 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5777, allocations: 52 kB / 1.529 GB, free: 3.297 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.5794, allocations: 1.05 MB / 1.53 GB, free: 2.164 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5794, allocations: 7.953 kB / 1.53 GB, free: 2.156 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.5795, allocations: 24 kB / 1.53 GB, free: 2.133 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.5796, allocations: 35.92 kB / 1.53 GB, free: 2.098 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5813, allocations: 1.003 MB / 1.531 GB, free: 1.098 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.5865, allocations: 3.701 MB / 1.534 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5876, allocations: 0.5602 MB / 1.535 GB, free: 12.7 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/0.5884, allocations: 492.1 kB / 1.535 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.5891, allocations: 136.2 kB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.5891, allocations: 39 kB / 1.536 GB, free: 12.04 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002462/0.5916, allocations: 0.6361 MB / 1.536 GB, free: 11.4 MB / 1.232 GB Notification: Performance of pre-optimization done (n=50): time 3.036e-06/0.5916, allocations: 4 kB / 1.536 GB, free: 11.4 MB / 1.232 GB Notification: Performance of matching and sorting (n=50): time 0.01831/0.6099, allocations: 3.675 MB / 1.54 GB, free: 7.707 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.61, allocations: 55.84 kB / 1.54 GB, free: 7.641 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.6111, allocations: 0.7078 MB / 1.541 GB, free: 6.926 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.6112, allocations: 37.7 kB / 1.541 GB, free: 6.883 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.6115, allocations: 324.9 kB / 1.541 GB, free: 6.562 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.6117, allocations: 186.4 kB / 1.541 GB, free: 6.379 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002945/0.612, allocations: 146 kB / 1.541 GB, free: 6.23 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6122, allocations: 330 kB / 1.542 GB, free: 5.902 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.6129, allocations: 396.8 kB / 1.542 GB, free: 5.516 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008899/0.6138, allocations: 0.5315 MB / 1.542 GB, free: 4.941 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.6155, allocations: 0.918 MB / 1.543 GB, free: 3.996 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6155, allocations: 4 kB / 1.543 GB, free: 3.992 MB / 1.232 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01199/0.6274, allocations: 2.557 MB / 1.546 GB, free: 1.418 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.6275, allocations: 5.406 kB / 1.546 GB, free: 1.414 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.6275, allocations: 7.938 kB / 1.546 GB, free: 1.406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.6376, allocations: 1.718 MB / 1.548 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.6381, allocations: 95.8 kB / 1.548 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.6517, allocations: 6.881 MB / 1.554 GB, free: 8.469 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.6526, allocations: 23.98 kB / 1.554 GB, free: 8.445 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6527, allocations: 47.92 kB / 1.554 GB, free: 8.398 MB / 1.248 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.0004379/0.6532, allocations: 201.8 kB / 1.555 GB, free: 8.191 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.6534, allocations: 87.42 kB / 1.555 GB, free: 8.105 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005344/0.6588, allocations: 1.737 MB / 1.556 GB, free: 6.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6588, allocations: 4 kB / 1.556 GB, free: 6.344 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.6588, allocations: 4 kB / 1.556 GB, free: 6.34 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.6588, allocations: 3.984 kB / 1.556 GB, free: 6.336 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.665, allocations: 2.386 MB / 1.559 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.665, allocations: 0 / 1.559 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6654, allocations: 87.89 kB / 1.559 GB, free: 3.789 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/0.669, allocations: 0.7978 MB / 1.56 GB, free: 2.984 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.669, allocations: 16 kB / 1.56 GB, free: 2.969 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007262/0.6763, allocations: 4.603 MB / 1.564 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-06/0.6763, allocations: 7.938 kB / 1.564 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/0.682, allocations: 2.142 MB / 1.566 GB, free: 11.95 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.6826, allocations: 163.3 kB / 1.566 GB, free: 11.79 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6827, allocations: 12 kB / 1.566 GB, free: 11.78 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.6833, allocations: 20.11 kB / 1.566 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.6835, allocations: 56.34 kB / 1.566 GB, free: 11.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.6835, allocations: 24 kB / 1.566 GB, free: 11.68 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006903/0.6842, allocations: 0.499 MB / 1.567 GB, free: 11.18 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6842, allocations: 0 / 1.567 GB, free: 11.18 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009687/0.6852, allocations: 291.7 kB / 1.567 GB, free: 10.9 MB / 1.264 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.006305/0.6915, allocations: 2.78 MB / 1.57 GB, free: 8.066 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.6954, allocations: 1.414 MB / 1.571 GB, free: 6.629 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6954, allocations: 0 / 1.571 GB, free: 6.629 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.6973, allocations: 0.8634 MB / 1.572 GB, free: 5.734 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.6995, allocations: 462.1 kB / 1.573 GB, free: 5.289 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03223/0.7317, allocations: 10.43 MB / 1.583 GB, free: 10.67 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.7322, allocations: 385.3 kB / 1.583 GB, free: 10.26 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000745/0.733, allocations: 166.6 kB / 1.583 GB, free: 10.09 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.7334, allocations: 279.3 kB / 1.584 GB, free: 9.82 MB / 1.279 GB Notification: Performance of SimCode: time 9.92e-07/0.7334, allocations: 0 / 1.584 GB, free: 9.82 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6766/1.41, allocations: 32.54 MB / 1.615 GB, free: 264 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.88, allocations: 5.875 kB / 1.615 GB, free: 264 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.681669423007406]