Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.001541/0.001541, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001799/0.001799, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.274/1.274, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.464/2.464, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.14 kB / 0.8987 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2671, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002499/0.2697, allocations: 1.349 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005018/0.2702, allocations: 314.9 kB / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2702, allocations: 0 / 1.054 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2703, allocations: 3.938 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.2704, allocations: 7.922 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2706, allocations: 71.8 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.2707, allocations: 35.84 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.2708, allocations: 4 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.2709, allocations: 23.86 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.2709, allocations: 15.92 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2709, allocations: 8 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.2711, allocations: 83.91 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2711, allocations: 7.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.2711, allocations: 7.938 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2713, allocations: 76.06 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2713, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2713, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.2713, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 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.0003428/0.2716, allocations: 352.6 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2717, allocations: 12.62 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.2717, allocations: 34.73 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.2718, allocations: 4.938 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2719, allocations: 172.3 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.2719, allocations: 384 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.2719, allocations: 384 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.035e-05/0.272, allocations: 41.62 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.272, allocations: 7.938 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.272, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.272, allocations: 0 / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.2721, allocations: 8 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.2722, allocations: 165.7 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.2723, allocations: 34.52 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.2723, allocations: 12.92 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/0.2733, allocations: 1.187 MB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2734, allocations: 38.5 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2734, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000143/0.2735, allocations: 53.58 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2735, allocations: 55.41 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.2736, allocations: 109.8 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2736, allocations: 25.7 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.2737, allocations: 88.12 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2737, allocations: 7.844 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.2738, allocations: 17.72 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.2739, allocations: 314.8 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.2739, allocations: 0 / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.2739, allocations: 11.92 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.2739, allocations: 20.8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2739, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.6e-05/0.274, allocations: 49.62 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.274, allocations: 8 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.274, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2741, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.2741, allocations: 4 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2741, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.2741, allocations: 3.906 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.2742, allocations: 4 kB / 1.057 GB, free: 3.336 MB / 0.8106 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.908e-05/0.2742, allocations: 109.8 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.2742, allocations: 11.94 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2744, allocations: 57.83 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2744, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2744, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2744, allocations: 4 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.961e-05/0.2745, allocations: 153.7 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2745, allocations: 7.938 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.2745, allocations: 4 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2745, allocations: 7.938 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.2746, allocations: 3.984 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2746, allocations: 0 / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2746, allocations: 0 / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847e-05/0.2747, allocations: 76.97 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.2747, allocations: 85.05 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2747, allocations: 4 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.2748, allocations: 7.984 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.2748, allocations: 0 / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2748, allocations: 8 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.2749, allocations: 87.27 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2749, allocations: 0 / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002042/0.2751, allocations: 31.92 kB / 1.058 GB, free: 2.582 MB / 0.8106 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.0003947/0.2755, allocations: 0.6401 MB / 1.058 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.2756, allocations: 28.02 kB / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2756, allocations: 0 / 1.058 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.2756, allocations: 4 kB / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2758, allocations: 8 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.2762, allocations: 183.5 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2764, allocations: 0.6807 MB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2764, allocations: 4 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.2765, allocations: 11.44 kB / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.2765, allocations: 0 / 1.059 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6506/0.9271, allocations: 1.538 MB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.9274, allocations: 223.8 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.053, allocations: 2.672 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches