Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 191.1 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.199/2.199, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.89 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4663, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002038/0.4684, allocations: 1.351 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.4688, allocations: 307 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.4689, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.4689, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.469, allocations: 11.91 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.4692, allocations: 67.8 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.4693, allocations: 39.86 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.4693, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.4694, allocations: 23.86 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.4695, allocations: 19.91 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4695, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.4696, allocations: 83.91 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.4696, allocations: 3.938 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.4697, allocations: 11.94 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.4698, allocations: 74.09 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4698, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4698, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4698, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 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.0003208/0.4702, allocations: 359.3 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4702, allocations: 15.97 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.4702, allocations: 34.75 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.4703, allocations: 0.9375 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.4704, allocations: 176.2 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.4704, allocations: 384 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.4704, allocations: 384 / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.4705, allocations: 41.62 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4705, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.4705, allocations: 3.938 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.4705, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.4706, allocations: 20.06 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.4707, allocations: 157.7 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.4708, allocations: 30.58 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.4708, allocations: 12.91 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/0.4718, allocations: 1.187 MB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4718, allocations: 38.55 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.457e-06/0.4719, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.472, allocations: 53.62 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.472, allocations: 51.41 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.4721, allocations: 109.8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4721, allocations: 25.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.4721, allocations: 80.14 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.4722, allocations: 19.72 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.4722, allocations: 13.72 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.4723, allocations: 310.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.4723, allocations: 11.98 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.4723, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.4724, allocations: 20.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4724, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.297e-05/0.4724, allocations: 41.62 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.4725, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4725, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-06/0.4725, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.4725, allocations: 8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4725, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.498e-05/0.4726, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.4726, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 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 6.739e-05/0.4726, allocations: 114.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.4727, allocations: 11.84 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.4728, allocations: 61.83 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.4728, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4728, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4728, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.4729, allocations: 157.6 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4729, allocations: 7.938 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.4729, allocations: 15.92 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.473, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.473, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.473, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.473, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.4731, allocations: 73.06 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.4731, allocations: 88.95 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4731, allocations: 11.98 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.4732, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.4732, allocations: 432 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.4732, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.4732, allocations: 87.27 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4733, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001969/0.4735, allocations: 24 kB / 1.022 GB, free: 12.66 MB / 0.7794 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.0003639/0.4738, allocations: 0.6436 MB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.4739, allocations: 15.98 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4739, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.4739, allocations: 12 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.4741, allocations: 1.562 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4744, allocations: 191.6 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4747, allocations: 0.6806 MB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.4747, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.4747, allocations: 15.44 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4747, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9303/1.405, allocations: 1.518 MB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/1.405, allocations: 218.2 kB / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/2.845, allocations: 0 / 1.025 GB, free: 9.363 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches