Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.009461/0.009461, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.002005/0.002005, allocations: 193.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.581/2.581, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.691/5.691, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003341/0.003342, allocations: 71.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393/1.396, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003657/1.4, allocations: 1.26 MB / 1.221 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/1.4, allocations: 119.5 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/1.4, allocations: 0 / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/1.4, allocations: 0 / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/1.4, allocations: 3.938 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/1.401, allocations: 43.84 kB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/1.401, allocations: 11.94 kB / 1.222 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/1.401, allocations: 7.984 kB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/1.401, allocations: 11.92 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/1.401, allocations: 8 kB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/1.401, allocations: 0 / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/1.401, allocations: 47.94 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/1.401, allocations: 4 kB / 1.222 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/1.401, allocations: 7.938 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/1.402, allocations: 38.59 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.402, allocations: 0 / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.745e-06/1.402, allocations: 0 / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.156e-06/1.402, allocations: 4 kB / 1.222 GB, free: 480 kB / 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.0005276/1.402, allocations: 336.4 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.402, allocations: 8.031 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/1.402, allocations: 30.75 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/1.402, allocations: 4.938 kB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/1.402, allocations: 176.2 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.403, allocations: 384 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/1.403, allocations: 8.125 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/1.403, allocations: 33.7 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.403, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.403, allocations: 4 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/1.403, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/1.403, allocations: 4 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/1.403, allocations: 153.6 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/1.403, allocations: 26.55 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/1.403, allocations: 16.78 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.404, allocations: 0.6052 MB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.404, allocations: 30.56 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/1.404, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002586/1.405, allocations: 45.69 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.405, allocations: 51.41 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/1.405, allocations: 97.98 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/1.405, allocations: 29.64 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.405, allocations: 80.14 kB / 1.223 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/1.405, allocations: 19.88 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/1.405, allocations: 9.719 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.405, allocations: 310.8 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/1.405, allocations: 4 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/1.405, allocations: 8 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/1.405, allocations: 16.92 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.405, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/1.405, allocations: 45.62 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.406, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.406, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.406, allocations: 4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/1.406, allocations: 7.875 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/1.406, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/1.406, allocations: 4 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/1.406, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 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.0001033/1.406, allocations: 109.9 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/1.406, allocations: 3.938 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/1.406, allocations: 48.81 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.406, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.406, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.406, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.406, allocations: 165.6 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/1.406, allocations: 0 / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/1.406, allocations: 8.031 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.406, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.406, allocations: 3.938 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.406, allocations: 3.984 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.406, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/1.406, allocations: 65.08 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/1.406, allocations: 77.11 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/1.407, allocations: 3.984 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/1.407, allocations: 8.156 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/1.407, allocations: 0 / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.407, allocations: 7.984 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.505e-05/1.407, allocations: 79.28 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.407, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003322/1.407, allocations: 15.94 kB / 1.224 GB, free: 13.27 MB / 0.9512 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.0006132/1.408, allocations: 0.6206 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.854e-05/1.408, allocations: 12 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.408, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/1.408, allocations: 4 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/1.408, allocations: 7.984 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/1.41, allocations: 1.103 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/1.41, allocations: 0.6768 MB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.096e-05/1.41, allocations: 3.938 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/1.41, allocations: 11.44 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of SimCode: time 4.5e-07/1.41, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/1.52, allocations: 1.437 MB / 1.228 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.75, allocations: 7.281 kB / 1.228 GB, free: 9.352 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches