Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.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.001344/0.001344, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001478/0.001478, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.635/1.635, allocations: 230.6 MB / 256 MB, free: 7.992 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.705/3.705, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_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.00213/0.00213, allocations: 67.41 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4341, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003248/0.4373, allocations: 1.289 MB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.4377, allocations: 99.66 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.4378, allocations: 0 / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.4378, allocations: 4 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.4379, allocations: 3.938 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.4381, allocations: 31.88 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.4382, allocations: 15.94 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.4383, allocations: 3.984 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.4383, allocations: 11.94 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.4383, allocations: 4 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4384, allocations: 0 / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.4385, allocations: 51.88 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.4386, allocations: 0 / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.748e-05/0.4386, allocations: 15.92 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.4387, allocations: 32.17 kB / 1.354 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4388, allocations: 7.938 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4388, allocations: 0 / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.4388, allocations: 0 / 1.354 GB, free: 6.875 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004716/0.4392, allocations: 256.3 kB / 1.355 GB, free: 6.598 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4393, allocations: 8.031 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.4393, allocations: 42.75 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.4397, allocations: 20.89 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4399, allocations: 106.5 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.4399, allocations: 384 / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4399, allocations: 4.125 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4401, allocations: 49.61 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.4401, allocations: 0 / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4401, allocations: 4 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.4401, allocations: 8 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4402, allocations: 19.97 kB / 1.355 GB, free: 6.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.4404, allocations: 132.8 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.4406, allocations: 38.55 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.4407, allocations: 16.86 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4407, allocations: 4 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4407, allocations: 38.5 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4407, allocations: 0 / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002994/0.441, allocations: 73.61 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4411, allocations: 51.41 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.4412, allocations: 98 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.4412, allocations: 29.83 kB / 1.355 GB, free: 5.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.4412, allocations: 84.12 kB / 1.355 GB, free: 5.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.4413, allocations: 3.953 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4413, allocations: 17.72 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4415, allocations: 310.8 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.4415, allocations: 11.98 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.217e-05/0.4416, allocations: 15.98 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4417, allocations: 36.84 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.4417, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000167/0.4419, allocations: 57.61 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4419, allocations: 8 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4419, allocations: 48 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4419, allocations: 3.984 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.442, allocations: 4 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4421, allocations: 7.969 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.4421, allocations: 11.92 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.4421, allocations: 0 / 1.356 GB, free: 5.141 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 (2): * Single equations (assignments): 2 * 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 0.0001085/0.4423, allocations: 113.8 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.4423, allocations: 11.88 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.4423, allocations: 3.312 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4423, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4423, allocations: 0 / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4423, allocations: 3.938 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4425, allocations: 140.7 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4425, allocations: 0 / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.4426, allocations: 4 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4426, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4426, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4426, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4426, allocations: 0 / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.4428, allocations: 93 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.4428, allocations: 4 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.4428, allocations: 3.984 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.4429, allocations: 0 / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.4429, allocations: 8 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4429, allocations: 0 / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.443, allocations: 75.28 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.443, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001974/0.4432, allocations: 15.98 kB / 1.356 GB, free: 4.605 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 (2): * Single equations (assignments): 2 * 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.0005299/0.4437, allocations: 0.6163 MB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.4439, allocations: 27.98 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4439, allocations: 4.094 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.444, allocations: 15.92 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4442, allocations: 7.984 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.4459, allocations: 1.165 MB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4463, allocations: 0.6806 MB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.588e-05/0.4463, allocations: 4 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.4464, allocations: 19.38 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of SimCode: time 1.253e-06/0.4464, allocations: 0 / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.4796, allocations: 1.577 MB / 1.36 GB, free: 492 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.48, allocations: 5.859 kB / 1.36 GB, free: 492 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.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.230895075947046]