Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001746/0.001746, allocations: 108.2 kB / 16.46 MB, free: 6.453 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.002138/0.002138, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.588/1.588, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.322/3.322, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.BaseClasses.Examples.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",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.002044/0.002044, allocations: 71.05 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3935, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002358/0.3958, allocations: 1.315 MB / 1.349 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005659/0.3964, allocations: 315.3 kB / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.3964, allocations: 0 / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3965, allocations: 3.938 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.3966, allocations: 11.92 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3968, allocations: 63.73 kB / 1.349 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.3969, allocations: 43.83 kB / 1.349 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.3969, allocations: 11.94 kB / 1.349 GB, free: 8.254 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3971, allocations: 27.91 kB / 1.35 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.3971, allocations: 19.88 kB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3971, allocations: 0 / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3973, allocations: 67.91 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.3973, allocations: 15.94 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.3973, allocations: 11.92 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.3975, allocations: 76 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3975, allocations: 7.938 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3975, allocations: 0 / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3975, allocations: 0 / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004127/0.3979, allocations: 355.2 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3979, allocations: 11.98 kB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.398, allocations: 34.73 kB / 1.35 GB, free: 7.582 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.3984, allocations: 56.8 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3985, allocations: 164.3 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3986, allocations: 4.375 kB / 1.35 GB, free: 7.324 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3986, allocations: 4.125 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3988, allocations: 65.64 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3988, allocations: 0 / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3988, allocations: 4 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3988, allocations: 0 / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.399, allocations: 47.88 kB / 1.35 GB, free: 7.199 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.3992, allocations: 165.7 kB / 1.351 GB, free: 6.988 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.3996, allocations: 94.56 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3997, allocations: 28.78 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.3997, allocations: 0 / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3997, allocations: 30.56 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3997, allocations: 0 / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003974/0.4001, allocations: 113.5 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.4002, allocations: 51.41 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.4002, allocations: 109.8 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4003, allocations: 25.7 kB / 1.351 GB, free: 6.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.4003, allocations: 92.12 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4003, allocations: 7.891 kB / 1.351 GB, free: 6.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.4004, allocations: 21.67 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4005, allocations: 314.8 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4006, allocations: 23.97 kB / 1.351 GB, free: 6.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.4007, allocations: 23.97 kB / 1.351 GB, free: 5.996 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4009, allocations: 48.77 kB / 1.352 GB, free: 5.945 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.4009, allocations: 0 / 1.352 GB, free: 5.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002385/0.4011, allocations: 85.92 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4011, allocations: 9.859 kB / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4012, allocations: 0 / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4012, allocations: 0 / 1.352 GB, free: 5.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4013, allocations: 11.98 kB / 1.352 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4013, allocations: 3.938 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.4014, allocations: 8 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4014, allocations: 7.984 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.4015, allocations: 105.8 kB / 1.352 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.4015, allocations: 15.88 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.4015, allocations: 7.906 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.4015, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4015, allocations: 0 / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4015, allocations: 4 kB / 1.352 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.4017, allocations: 169.6 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4017, allocations: 7.938 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.4018, allocations: 15.98 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4018, allocations: 3.984 kB / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4018, allocations: 0 / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4018, allocations: 0 / 1.352 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4018, allocations: 4 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4021, allocations: 97.03 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.4021, allocations: 97.05 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4022, allocations: 3.984 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4023, allocations: 4 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.4023, allocations: 7.984 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.4023, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.4024, allocations: 91.59 kB / 1.352 GB, free: 5.086 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4024, allocations: 3.938 kB / 1.352 GB, free: 5.082 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001942/0.4025, allocations: 8 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006037/0.4032, allocations: 0.6436 MB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.4034, allocations: 47.95 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4034, allocations: 4 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4035, allocations: 31.91 kB / 1.353 GB, free: 4.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.4037, allocations: 4 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4055, allocations: 1.274 MB / 1.354 GB, free: 2.961 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4058, allocations: 0.6807 MB / 1.355 GB, free: 2.254 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.613e-05/0.4059, allocations: 12 kB / 1.355 GB, free: 2.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4059, allocations: 11.38 kB / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4059, allocations: 0 / 1.355 GB, free: 2.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.4291, allocations: 1.552 MB / 1.356 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.318, allocations: 7.844 kB / 1.356 GB, free: 0.793 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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: 15.451842149021104]