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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007246/0.007246, allocations: 104.4 kB / 15.74 MB, free: 5.598 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.001733/0.001733, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 68.11 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9258, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002318/0.9282, allocations: 1.256 MB / 1.208 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.9286, allocations: 119.5 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.9286, allocations: 0 / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.9286, allocations: 7.984 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.9287, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.929, allocations: 43.83 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.999e-05/0.929, allocations: 15.94 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.9291, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.9291, allocations: 7.938 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.9292, allocations: 7.984 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.9292, allocations: 0 / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.9293, allocations: 55.94 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.9294, allocations: 3.984 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.9294, allocations: 7.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.9295, allocations: 35.95 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9295, allocations: 4 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9295, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.9295, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 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.0003307/0.9299, allocations: 325.8 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9299, allocations: 12.03 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.93, allocations: 38.75 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.93, allocations: 8.781 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9301, allocations: 172.2 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.9301, allocations: 8.359 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.9301, allocations: 4.125 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.53e-05/0.9302, allocations: 29.7 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.9302, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.9302, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.9302, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.9303, allocations: 12 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.9304, allocations: 149.7 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.9305, allocations: 26.52 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.9305, allocations: 12.86 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.9311, allocations: 0.6012 MB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.9312, allocations: 42.56 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9312, allocations: 0 / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.9313, allocations: 33.7 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.9313, allocations: 59.33 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.919e-05/0.9314, allocations: 97.86 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.9314, allocations: 25.7 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.9314, allocations: 80.14 kB / 1.21 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.9315, allocations: 11.89 kB / 1.21 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.9315, allocations: 17.84 kB / 1.21 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.9316, allocations: 318.8 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.9316, allocations: 0 / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.9316, allocations: 4 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.9317, allocations: 16.86 kB / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9317, allocations: 0 / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.429e-05/0.9317, allocations: 41.62 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9318, allocations: 10.03 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.9318, allocations: 8.031 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.9318, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.665e-05/0.9318, allocations: 4 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.9318, allocations: 0 / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.9319, allocations: 4 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.9319, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 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 6.007e-05/0.9319, allocations: 109.8 kB / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.932, allocations: 11.84 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.621e-05/0.9321, allocations: 48.81 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.9321, allocations: 0 / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9321, allocations: 3.938 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.9321, allocations: 0 / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.083e-05/0.9322, allocations: 161.6 kB / 1.211 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.9322, allocations: 7.938 kB / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9322, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9322, allocations: 0 / 1.211 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.055e-05/0.9323, allocations: 73.09 kB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.9323, allocations: 77.11 kB / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.9324, allocations: 0 / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.666e-05/0.9324, allocations: 0 / 1.211 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.9324, allocations: 7.984 kB / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.9324, allocations: 0 / 1.211 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.257e-05/0.9324, allocations: 83.45 kB / 1.211 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9324, allocations: 4.031 kB / 1.211 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001979/0.9326, allocations: 16 kB / 1.211 GB, free: 8.781 MB / 0.9356 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.0003429/0.933, allocations: 0.6123 MB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.9331, allocations: 11.98 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9331, allocations: 4.094 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.9331, allocations: 7.938 kB / 1.212 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.9333, allocations: 8 kB / 1.212 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.9342, allocations: 1.101 MB / 1.213 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.9344, allocations: 0.6729 MB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.9344, allocations: 4 kB / 1.214 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.9344, allocations: 11.44 kB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/0.9344, allocations: 0 / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.952, allocations: 1.448 MB / 1.215 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.755, allocations: 0 / 1.215 GB, free: 4.871 MB / 0.9356 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) 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) Reference file matches