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.001737/0.001737, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002179/0.002179, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.832 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 2.952/2.952, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.001921/0.001921, allocations: 71.05 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3027, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2015/0.5042, allocations: 170.5 MB / 1.492 GB, free: 6.406 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006212/0.5104, allocations: 3.788 MB / 1.496 GB, free: 2.613 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.5112, allocations: 27.75 kB / 1.496 GB, free: 2.586 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.5124, allocations: 461.1 kB / 1.496 GB, free: 2.133 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.516, allocations: 1.553 MB / 1.498 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.5192, allocations: 1.402 MB / 1.499 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.5214, allocations: 1.631 MB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5225, allocations: 0.8422 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.5244, allocations: 1.122 MB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.5257, allocations: 0.9111 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.5258, allocations: 103.9 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.5279, allocations: 1.106 MB / 1.505 GB, free: 9.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.5283, allocations: 366.9 kB / 1.505 GB, free: 9.07 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.5288, allocations: 450.2 kB / 1.506 GB, free: 8.629 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.5309, allocations: 1.647 MB / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5309, allocations: 0 / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5309, allocations: 0 / 1.507 GB, free: 6.977 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.5309, allocations: 7.938 kB / 1.507 GB, free: 6.969 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.00273/0.5336, allocations: 1.185 MB / 1.509 GB, free: 5.746 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.5337, allocations: 8.031 kB / 1.509 GB, free: 5.738 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.5338, allocations: 94.52 kB / 1.509 GB, free: 5.637 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.5354, allocations: 243.2 kB / 1.509 GB, free: 5.398 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.5364, allocations: 0.5499 MB / 1.509 GB, free: 4.816 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.5364, allocations: 37 kB / 1.509 GB, free: 4.781 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5365, allocations: 55.98 kB / 1.509 GB, free: 4.727 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.5382, allocations: 1.054 MB / 1.51 GB, free: 3.594 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5382, allocations: 0 / 1.51 GB, free: 3.594 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.5383, allocations: 24 kB / 1.511 GB, free: 3.57 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.5383, allocations: 31.92 kB / 1.511 GB, free: 3.539 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.54, allocations: 1.003 MB / 1.512 GB, free: 2.535 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.5452, allocations: 3.716 MB / 1.515 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.5461, allocations: 0.565 MB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.5469, allocations: 481.9 kB / 1.516 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007275/0.5477, allocations: 136.3 kB / 1.516 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5477, allocations: 39 kB / 1.516 GB, free: 13.47 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002483/0.5502, allocations: 0.6322 MB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.935e-06/0.5502, allocations: 0 / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01883/0.569, allocations: 3.679 MB / 1.521 GB, free: 9.141 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5691, allocations: 59.84 kB / 1.521 GB, free: 9.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5701, allocations: 0.7155 MB / 1.521 GB, free: 8.344 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.5702, allocations: 37.7 kB / 1.521 GB, free: 8.301 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.5705, allocations: 313 kB / 1.522 GB, free: 7.992 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.5707, allocations: 194.3 kB / 1.522 GB, free: 7.801 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.571, allocations: 150 kB / 1.522 GB, free: 7.648 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5711, allocations: 322 kB / 1.522 GB, free: 7.328 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.5718, allocations: 404.7 kB / 1.523 GB, free: 6.934 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.5726, allocations: 0.5237 MB / 1.523 GB, free: 6.371 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.5741, allocations: 0.9219 MB / 1.524 GB, free: 5.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5741, allocations: 0 / 1.524 GB, free: 5.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01253/0.5866, allocations: 2.56 MB / 1.527 GB, free: 2.844 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5867, allocations: 4 kB / 1.527 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5867, allocations: 8.125 kB / 1.527 GB, free: 2.832 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.5971, allocations: 1.722 MB / 1.528 GB, free: 1.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.5976, allocations: 95.86 kB / 1.528 GB, free: 1.008 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.6109, allocations: 6.879 MB / 1.535 GB, free: 9.891 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.6117, allocations: 16.06 kB / 1.535 GB, free: 9.875 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6118, allocations: 51.92 kB / 1.535 GB, free: 9.824 MB / 1.233 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.0003881/0.6122, allocations: 205.7 kB / 1.535 GB, free: 9.613 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.6124, allocations: 83.48 kB / 1.535 GB, free: 9.531 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.6176, allocations: 1.736 MB / 1.537 GB, free: 7.773 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6176, allocations: 7.984 kB / 1.537 GB, free: 7.766 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.6177, allocations: 4 kB / 1.537 GB, free: 7.762 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6177, allocations: 0 / 1.537 GB, free: 7.762 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.6238, allocations: 2.393 MB / 1.539 GB, free: 5.293 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6238, allocations: 0 / 1.539 GB, free: 5.293 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.6242, allocations: 91.88 kB / 1.54 GB, free: 5.203 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003613/0.6278, allocations: 0.7901 MB / 1.54 GB, free: 4.406 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.865e-05/0.6279, allocations: 16 kB / 1.54 GB, free: 4.391 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007049/0.635, allocations: 4.611 MB / 1.545 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.635, allocations: 3.938 kB / 1.545 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.6405, allocations: 2.146 MB / 1.547 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.641, allocations: 159.4 kB / 1.547 GB, free: 13.2 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6411, allocations: 12 kB / 1.547 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.6417, allocations: 23.98 kB / 1.547 GB, free: 13.17 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.6418, allocations: 52.34 kB / 1.547 GB, free: 13.12 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.6419, allocations: 20 kB / 1.547 GB, free: 13.1 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006349/0.6425, allocations: 0.5029 MB / 1.548 GB, free: 12.6 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6425, allocations: 0 / 1.548 GB, free: 12.6 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009423/0.6435, allocations: 287.8 kB / 1.548 GB, free: 12.32 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.006104/0.6496, allocations: 2.792 MB / 1.551 GB, free: 9.477 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.6533, allocations: 1.41 MB / 1.552 GB, free: 8.039 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6533, allocations: 3.938 kB / 1.552 GB, free: 8.035 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.6552, allocations: 0.8559 MB / 1.553 GB, free: 7.148 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.6573, allocations: 460.8 kB / 1.553 GB, free: 6.695 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/0.6891, allocations: 10.43 MB / 1.564 GB, free: 12.09 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.6896, allocations: 397.3 kB / 1.564 GB, free: 11.68 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006136/0.6902, allocations: 154.6 kB / 1.564 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.6906, allocations: 287.3 kB / 1.564 GB, free: 11.24 MB / 1.264 GB Notification: Performance of SimCode: time 5.81e-07/0.6906, allocations: 0 / 1.564 GB, free: 11.24 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.072/0.7626, allocations: 33.09 MB / 1.597 GB, free: 10.72 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.63, allocations: 7.062 kB / 1.597 GB, free: 10.71 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: 19.374819383985596]