Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002232/0.002232, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002696/0.002696, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.464/1.464, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.67/2.67, allocations: 476.7 MB / 0.7672 GB, free: 5.184 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.001997/0.001997, allocations: 67.89 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.804, allocations: 169.9 MB / 1.278 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2386/1.043, allocations: 196.2 MB / 1.47 GB, free: 8.355 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007613/1.05, allocations: 4.034 MB / 1.474 GB, free: 4.312 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.051, allocations: 31.81 kB / 1.474 GB, free: 4.281 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/1.053, allocations: 493 kB / 1.474 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004392/1.057, allocations: 1.605 MB / 1.476 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/1.061, allocations: 1.362 MB / 1.477 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002746/1.064, allocations: 1.635 MB / 1.479 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/1.065, allocations: 0.8612 MB / 1.48 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/1.068, allocations: 0.9619 MB / 1.481 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/1.069, allocations: 0.9344 MB / 1.482 GB, free: 12.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004283/1.07, allocations: 100 kB / 1.482 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/1.073, allocations: 1.387 MB / 1.483 GB, free: 10.91 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007089/1.074, allocations: 366.9 kB / 1.483 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/1.075, allocations: 0.5172 MB / 1.484 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003706/1.079, allocations: 1.67 MB / 1.485 GB, free: 8.359 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.079, allocations: 0 / 1.485 GB, free: 8.359 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.054e-06/1.079, allocations: 4 kB / 1.485 GB, free: 8.355 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.183e-05/1.079, allocations: 0 / 1.485 GB, free: 8.355 MB / 1.186 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.003612/1.082, allocations: 1.264 MB / 1.487 GB, free: 7.035 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.082, allocations: 12.03 kB / 1.487 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/1.083, allocations: 90.52 kB / 1.487 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/1.084, allocations: 247.2 kB / 1.487 GB, free: 6.684 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.086, allocations: 0.6233 MB / 1.488 GB, free: 6.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/1.086, allocations: 41 kB / 1.488 GB, free: 5.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.086, allocations: 48 kB / 1.488 GB, free: 5.934 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.088, allocations: 1.004 MB / 1.489 GB, free: 4.859 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.088, allocations: 3.938 kB / 1.489 GB, free: 4.855 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/1.088, allocations: 20 kB / 1.489 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/1.088, allocations: 31.92 kB / 1.489 GB, free: 4.805 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/1.09, allocations: 0.9954 MB / 1.49 GB, free: 3.809 MB / 1.186 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.006011/1.096, allocations: 4.152 MB / 1.494 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.097, allocations: 0.5548 MB / 1.494 GB, free: 14.92 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/1.097, allocations: 489.9 kB / 1.495 GB, free: 14.44 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/1.099, allocations: 0.8783 MB / 1.496 GB, free: 13.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/1.099, allocations: 39 kB / 1.496 GB, free: 13.33 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002617/1.101, allocations: 0.6361 MB / 1.496 GB, free: 12.69 MB / 1.201 GB Notification: Performance of pre-optimization done (n=50): time 6.963e-06/1.101, allocations: 0 / 1.496 GB, free: 12.69 MB / 1.201 GB Notification: Performance of matching and sorting (n=50): time 0.01936/1.121, allocations: 3.83 MB / 1.5 GB, free: 8.809 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/1.121, allocations: 55.84 kB / 1.5 GB, free: 8.742 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.122, allocations: 0.7155 MB / 1.501 GB, free: 8.02 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.122, allocations: 37.7 kB / 1.501 GB, free: 7.977 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/1.123, allocations: 317 kB / 1.501 GB, free: 7.664 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.123, allocations: 186.3 kB / 1.501 GB, free: 7.48 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/1.123, allocations: 150.1 kB / 1.501 GB, free: 7.328 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.123, allocations: 330 kB / 1.502 GB, free: 7 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/1.124, allocations: 400.8 kB / 1.502 GB, free: 6.609 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/1.125, allocations: 489.5 kB / 1.503 GB, free: 6.105 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.127, allocations: 0.9219 MB / 1.504 GB, free: 5.156 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.127, allocations: 0 / 1.504 GB, free: 5.156 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01243/1.139, allocations: 2.549 MB / 1.506 GB, free: 2.594 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.139, allocations: 4 kB / 1.506 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.139, allocations: 8.125 kB / 1.506 GB, free: 2.582 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/1.15, allocations: 1.737 MB / 1.508 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/1.15, allocations: 91.86 kB / 1.508 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.165, allocations: 7.143 MB / 1.515 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/1.166, allocations: 16.06 kB / 1.515 GB, free: 9.289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/1.166, allocations: 47.92 kB / 1.515 GB, free: 9.242 MB / 1.217 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.0005315/1.166, allocations: 208.1 kB / 1.515 GB, free: 9.031 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/1.167, allocations: 83.48 kB / 1.515 GB, free: 8.949 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00569/1.172, allocations: 1.73 MB / 1.517 GB, free: 7.199 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.172, allocations: 8 kB / 1.517 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.172, allocations: 4 kB / 1.517 GB, free: 7.188 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/1.172, allocations: 3.984 kB / 1.517 GB, free: 7.184 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006848/1.179, allocations: 2.524 MB / 1.519 GB, free: 4.578 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.179, allocations: 7.938 kB / 1.519 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/1.18, allocations: 87.89 kB / 1.519 GB, free: 4.484 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/1.183, allocations: 0.7978 MB / 1.52 GB, free: 3.68 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/1.184, allocations: 16 kB / 1.52 GB, free: 3.664 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007826/1.191, allocations: 4.862 MB / 1.525 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.191, allocations: 4 kB / 1.525 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/1.197, allocations: 2.144 MB / 1.527 GB, free: 12.33 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000602/1.198, allocations: 240.4 kB / 1.527 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.198, allocations: 12 kB / 1.527 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/1.199, allocations: 27.98 kB / 1.527 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/1.199, allocations: 56.36 kB / 1.527 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/1.199, allocations: 20 kB / 1.527 GB, free: 11.96 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008051/1.2, allocations: 0.4951 MB / 1.528 GB, free: 11.48 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/1.2, allocations: 0 / 1.528 GB, free: 11.48 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001187/1.201, allocations: 295.7 kB / 1.528 GB, free: 11.19 MB / 1.232 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.006524/1.208, allocations: 2.794 MB / 1.531 GB, free: 8.336 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004065/1.212, allocations: 1.402 MB / 1.532 GB, free: 6.914 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.212, allocations: 4 kB / 1.532 GB, free: 6.91 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.214, allocations: 0.8599 MB / 1.533 GB, free: 6.02 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/1.216, allocations: 458.7 kB / 1.534 GB, free: 5.574 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/1.251, allocations: 10.44 MB / 1.544 GB, free: 10.95 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/1.252, allocations: 0.9789 MB / 1.545 GB, free: 9.945 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007455/1.252, allocations: 166.6 kB / 1.545 GB, free: 9.777 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/1.253, allocations: 283.3 kB / 1.545 GB, free: 9.5 MB / 1.248 GB Notification: Performance of SimCode: time 1.302e-06/1.253, allocations: 0 / 1.545 GB, free: 9.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08355/1.336, allocations: 29.79 MB / 1.574 GB, free: 12.08 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.83, allocations: 2.656 kB / 1.574 GB, free: 12.08 MB / 1.279 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pow_2dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.95936050103046]