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.001499/0.001499, 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.001607/0.001607, allocations: 214.3 kB / 22.25 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.801 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.095/3.095, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002062/0.002062, allocations: 70.83 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2133/0.5329, allocations: 170.5 MB / 1.492 GB, free: 7.289 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006417/0.5393, allocations: 3.785 MB / 1.495 GB, free: 3.496 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006989/0.54, allocations: 23.81 kB / 1.495 GB, free: 3.473 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.5413, allocations: 461.1 kB / 1.496 GB, free: 3.02 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.5449, allocations: 1.556 MB / 1.497 GB, free: 1.457 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.5483, allocations: 1.4 MB / 1.499 GB, free: 60 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.5506, allocations: 1.627 MB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5518, allocations: 0.8382 MB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.5538, allocations: 1.122 MB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.5551, allocations: 0.8369 MB / 1.503 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.5552, allocations: 100 kB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.5576, allocations: 1.087 MB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.5581, allocations: 370.8 kB / 1.504 GB, free: 10.06 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.5587, allocations: 458.2 kB / 1.505 GB, free: 9.609 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.5617, allocations: 1.643 MB / 1.506 GB, free: 7.961 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5617, allocations: 0 / 1.506 GB, free: 7.961 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5617, allocations: 0 / 1.506 GB, free: 7.961 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.5617, allocations: 0 / 1.506 GB, free: 7.961 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.00307/0.5648, allocations: 1.192 MB / 1.508 GB, free: 6.73 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5648, allocations: 8.031 kB / 1.508 GB, free: 6.723 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.565, allocations: 94.52 kB / 1.508 GB, free: 6.621 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5665, allocations: 243.2 kB / 1.508 GB, free: 6.383 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.5676, allocations: 0.5577 MB / 1.508 GB, free: 5.793 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.5677, allocations: 45 kB / 1.509 GB, free: 5.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.5678, allocations: 52 kB / 1.509 GB, free: 5.699 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.5695, allocations: 1.046 MB / 1.51 GB, free: 4.574 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.5696, allocations: 3.938 kB / 1.51 GB, free: 4.57 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.5696, allocations: 20 kB / 1.51 GB, free: 4.551 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.5697, allocations: 35.92 kB / 1.51 GB, free: 4.516 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5714, allocations: 0.9993 MB / 1.511 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005695/0.5771, allocations: 3.72 MB / 1.514 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.5781, allocations: 0.5556 MB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.5789, allocations: 489.9 kB / 1.515 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.5796, allocations: 132.3 kB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5797, allocations: 39 kB / 1.515 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002393/0.5821, allocations: 0.6322 MB / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/0.5821, allocations: 3.938 kB / 1.516 GB, free: 13.81 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.02533/0.6074, allocations: 3.668 MB / 1.52 GB, free: 10.13 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.6075, allocations: 67.77 kB / 1.52 GB, free: 10.05 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.609, allocations: 0.7155 MB / 1.52 GB, free: 9.324 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.6092, allocations: 33.7 kB / 1.52 GB, free: 9.285 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.6096, allocations: 324.9 kB / 1.521 GB, free: 8.965 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.6098, allocations: 186.3 kB / 1.521 GB, free: 8.781 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.6103, allocations: 150 kB / 1.521 GB, free: 8.629 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.6105, allocations: 330 kB / 1.521 GB, free: 8.301 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.6116, allocations: 396.8 kB / 1.522 GB, free: 7.914 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.6129, allocations: 0.5237 MB / 1.522 GB, free: 7.352 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.6153, allocations: 0.9219 MB / 1.523 GB, free: 6.402 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6153, allocations: 0 / 1.523 GB, free: 6.402 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01772/0.633, allocations: 2.553 MB / 1.526 GB, free: 3.832 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.6331, allocations: 4 kB / 1.526 GB, free: 3.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6331, allocations: 4 kB / 1.526 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01153/0.6446, allocations: 1.734 MB / 1.527 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.6451, allocations: 91.88 kB / 1.527 GB, free: 1.992 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.6595, allocations: 6.878 MB / 1.534 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/0.6603, allocations: 20.05 kB / 1.534 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.6604, allocations: 47.92 kB / 1.534 GB, free: 10.8 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.0004207/0.6608, allocations: 213.7 kB / 1.534 GB, free: 10.59 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.661, allocations: 83.48 kB / 1.535 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/0.6663, allocations: 1.728 MB / 1.536 GB, free: 8.754 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6663, allocations: 4 kB / 1.536 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6663, allocations: 4 kB / 1.536 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.6664, allocations: 3.984 kB / 1.536 GB, free: 8.742 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/0.6727, allocations: 2.386 MB / 1.539 GB, free: 6.281 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6727, allocations: 4.031 kB / 1.539 GB, free: 6.277 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.6731, allocations: 91.83 kB / 1.539 GB, free: 6.188 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/0.6767, allocations: 0.798 MB / 1.539 GB, free: 5.383 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.6767, allocations: 19.98 kB / 1.539 GB, free: 5.363 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007405/0.6842, allocations: 4.603 MB / 1.544 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6842, allocations: 0 / 1.544 GB, free: 0.5312 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/0.6899, allocations: 2.142 MB / 1.546 GB, free: 14.35 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/0.6906, allocations: 155.4 kB / 1.546 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6907, allocations: 12 kB / 1.546 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.6913, allocations: 27.97 kB / 1.546 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6915, allocations: 60.28 kB / 1.546 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.6916, allocations: 16 kB / 1.546 GB, free: 14.08 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007294/0.6923, allocations: 0.499 MB / 1.547 GB, free: 13.59 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6923, allocations: 4 kB / 1.547 GB, free: 13.59 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001024/0.6933, allocations: 291.8 kB / 1.547 GB, free: 13.3 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.006184/0.6995, allocations: 2.796 MB / 1.55 GB, free: 10.45 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.7031, allocations: 1.414 MB / 1.551 GB, free: 9.012 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.7031, allocations: 0 / 1.551 GB, free: 9.012 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.7055, allocations: 0.8596 MB / 1.552 GB, free: 8.121 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.7079, allocations: 464.6 kB / 1.552 GB, free: 7.668 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03244/0.7403, allocations: 10.42 MB / 1.563 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.7408, allocations: 385.3 kB / 1.563 GB, free: 12.67 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006987/0.7415, allocations: 166.6 kB / 1.563 GB, free: 12.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.7419, allocations: 283.3 kB / 1.563 GB, free: 12.23 MB / 1.264 GB Notification: Performance of SimCode: time 1.183e-06/0.7419, allocations: 0 / 1.563 GB, free: 12.23 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/0.8214, allocations: 32.9 MB / 1.596 GB, free: 11.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.68, allocations: 17.36 kB / 1.596 GB, free: 11.89 MB / 1.295 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/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] "Error: Could not read variable pow_2dat.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_2dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_1dat.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_1dat.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_V_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_V_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! Error: Could not read variable pow_m_flow.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv. Warning: Get data of variable pow_m_flow.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.878467133268714]