Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 106.7 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 192.6 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437.1 MB / 0.7171 GB, free: 4.074 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 151.6 MB / 1.175 GB, free: 17.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2787/1.425, allocations: 192.6 MB / 1.363 GB, free: 7.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009131/1.434, allocations: 4.015 MB / 1.367 GB, free: 3.727 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/1.436, allocations: 23.88 kB / 1.367 GB, free: 3.703 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/1.438, allocations: 473 kB / 1.367 GB, free: 3.238 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00586/1.444, allocations: 1.536 MB / 1.369 GB, free: 1.695 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004889/1.449, allocations: 1.352 MB / 1.37 GB, free: 352 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003852/1.453, allocations: 1.647 MB / 1.372 GB, free: 14.69 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/1.455, allocations: 0.9509 MB / 1.373 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/1.457, allocations: 0.915 MB / 1.373 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/1.459, allocations: 0.8527 MB / 1.374 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/1.459, allocations: 92 kB / 1.374 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.462, allocations: 1.317 MB / 1.376 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005137/1.463, allocations: 347 kB / 1.376 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008361/1.464, allocations: 0.5172 MB / 1.376 GB, free: 9.684 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003776/1.468, allocations: 1.639 MB / 1.378 GB, free: 8.039 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.468, allocations: 0 / 1.378 GB, free: 8.039 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.683e-06/1.468, allocations: 0 / 1.378 GB, free: 8.039 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.324e-05/1.468, allocations: 0 / 1.378 GB, free: 8.039 MB / 1.092 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.003702/1.471, allocations: 1.475 MB / 1.38 GB, free: 6.512 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/1.471, allocations: 8.625 kB / 1.38 GB, free: 6.504 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/1.472, allocations: 98.5 kB / 1.38 GB, free: 6.398 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/1.473, allocations: 247.2 kB / 1.38 GB, free: 6.156 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/1.475, allocations: 0.6077 MB / 1.38 GB, free: 5.504 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/1.475, allocations: 41 kB / 1.38 GB, free: 5.461 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.475, allocations: 55.92 kB / 1.381 GB, free: 5.406 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.477, allocations: 0.9686 MB / 1.381 GB, free: 4.371 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/1.477, allocations: 7.953 kB / 1.381 GB, free: 4.363 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.477, allocations: 24 kB / 1.382 GB, free: 4.34 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/1.477, allocations: 27.92 kB / 1.382 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.478, allocations: 0.9367 MB / 1.382 GB, free: 3.375 MB / 1.092 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.006256/1.485, allocations: 4.263 MB / 1.387 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.486, allocations: 0.5971 MB / 1.387 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/1.487, allocations: 0.5175 MB / 1.388 GB, free: 13.82 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001444/1.488, allocations: 0.8783 MB / 1.389 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/1.488, allocations: 39 kB / 1.389 GB, free: 12.71 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00185/1.49, allocations: 415.5 kB / 1.389 GB, free: 12.3 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 5.5e-06/1.49, allocations: 0 / 1.389 GB, free: 12.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.0189/1.509, allocations: 3.849 MB / 1.393 GB, free: 8.402 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/1.509, allocations: 55.84 kB / 1.393 GB, free: 8.336 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.511, allocations: 0.7077 MB / 1.394 GB, free: 7.617 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002271/1.511, allocations: 33.7 kB / 1.394 GB, free: 7.578 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/1.511, allocations: 316.9 kB / 1.394 GB, free: 7.266 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/1.512, allocations: 194.3 kB / 1.394 GB, free: 7.074 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/1.512, allocations: 154.1 kB / 1.394 GB, free: 6.918 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.512, allocations: 329.9 kB / 1.394 GB, free: 6.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/1.513, allocations: 396.9 kB / 1.395 GB, free: 6.199 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/1.514, allocations: 489.5 kB / 1.395 GB, free: 5.695 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.515, allocations: 0.9219 MB / 1.396 GB, free: 4.746 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.515, allocations: 0 / 1.396 GB, free: 4.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01167/1.527, allocations: 2.561 MB / 1.399 GB, free: 2.168 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.527, allocations: 8.125 kB / 1.399 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.527, allocations: 4 kB / 1.399 GB, free: 2.156 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009868/1.537, allocations: 1.734 MB / 1.4 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/1.538, allocations: 91.88 kB / 1.401 GB, free: 332 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.552, allocations: 7.146 MB / 1.408 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.553, allocations: 20.05 kB / 1.408 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.553, allocations: 43.92 kB / 1.408 GB, free: 8.82 MB / 1.123 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.0005099/1.554, allocations: 206.7 kB / 1.408 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.554, allocations: 87.44 kB / 1.408 GB, free: 8.523 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/1.559, allocations: 1.745 MB / 1.41 GB, free: 6.758 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.559, allocations: 4 kB / 1.41 GB, free: 6.754 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.559, allocations: 4 kB / 1.41 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.559, allocations: 3.984 kB / 1.41 GB, free: 6.746 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006521/1.566, allocations: 2.551 MB / 1.412 GB, free: 4.113 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.566, allocations: 4 kB / 1.412 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/1.566, allocations: 87.89 kB / 1.412 GB, free: 4.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/1.57, allocations: 0.7943 MB / 1.413 GB, free: 3.223 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/1.57, allocations: 27.92 kB / 1.413 GB, free: 3.195 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007758/1.577, allocations: 4.841 MB / 1.418 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.578, allocations: 12.05 kB / 1.418 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/1.583, allocations: 2.155 MB / 1.42 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/1.584, allocations: 240.5 kB / 1.42 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.584, allocations: 16 kB / 1.42 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/1.585, allocations: 19.98 kB / 1.42 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.585, allocations: 52.44 kB / 1.42 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/1.585, allocations: 23.98 kB / 1.42 GB, free: 11.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007734/1.586, allocations: 0.499 MB / 1.421 GB, free: 11.01 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.586, allocations: 0 / 1.421 GB, free: 11.01 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00112/1.587, allocations: 283.8 kB / 1.421 GB, free: 10.73 MB / 1.139 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.006264/1.593, allocations: 2.814 MB / 1.424 GB, free: 7.867 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003804/1.597, allocations: 1.464 MB / 1.425 GB, free: 6.383 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.597, allocations: 7.938 kB / 1.425 GB, free: 6.375 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.599, allocations: 0.9185 MB / 1.426 GB, free: 5.426 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.601, allocations: 454.8 kB / 1.426 GB, free: 4.98 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/1.634, allocations: 10.45 MB / 1.437 GB, free: 10.35 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009023/1.635, allocations: 0.9789 MB / 1.438 GB, free: 9.344 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009972/1.636, allocations: 166.6 kB / 1.438 GB, free: 9.18 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/1.637, allocations: 283.3 kB / 1.438 GB, free: 8.902 MB / 1.154 GB Notification: Performance of SimCode: time 4.679e-06/1.637, allocations: 0 / 1.438 GB, free: 8.902 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08884/1.726, allocations: 29.68 MB / 1.467 GB, free: 11.56 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/14.08, allocations: 8 kB / 1.467 GB, free: 11.55 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.708080514799803]