Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_10_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.001177/0.001177, 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.001126/0.001126, allocations: 194.5 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.144/1.144, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.206/2.206, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 67.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4665, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001979/0.4685, allocations: 1.316 MB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002307/0.4688, allocations: 123.6 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.4688, allocations: 3.938 kB / 1.018 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.4688, allocations: 3.938 kB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.4689, allocations: 11.97 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.4691, allocations: 27.91 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.129e-05/0.4691, allocations: 15.94 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.4692, allocations: 0 / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.106e-05/0.4692, allocations: 11.92 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.4692, allocations: 11.98 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.4692, allocations: 0 / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4694, allocations: 55.94 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.4694, allocations: 0 / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.841e-05/0.4694, allocations: 7.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.4695, allocations: 39.89 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4695, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4695, allocations: 0 / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.4695, allocations: 0 / 1.019 GB, free: 1.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003103/0.4698, allocations: 333.7 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4699, allocations: 12.03 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.731e-05/0.4699, allocations: 30.75 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.4699, allocations: 0.9375 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.47, allocations: 172.3 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.47, allocations: 16.3 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.4701, allocations: 384 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.207e-05/0.4701, allocations: 33.64 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.4701, allocations: 0 / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.4701, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4702, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.4702, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.4703, allocations: 157.7 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.4704, allocations: 26.52 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.4704, allocations: 8.922 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/0.471, allocations: 0.609 MB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.471, allocations: 34.56 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.471, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001141/0.4712, allocations: 45.59 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4712, allocations: 51.41 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.4713, allocations: 97.86 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.4713, allocations: 25.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.4713, allocations: 88.27 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.4713, allocations: 7.891 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.4714, allocations: 13.66 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.4714, allocations: 318.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.4715, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.4715, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.4715, allocations: 12.86 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4715, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.456e-05/0.4716, allocations: 49.62 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4716, allocations: 8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.4716, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4716, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.725e-05/0.4717, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.4717, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.4717, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.4717, allocations: 0 / 1.021 GB, free: 14.59 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 (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 5.267e-05/0.4718, allocations: 110.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.4718, allocations: 15.95 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.4719, allocations: 40.83 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4719, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4719, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.4719, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.01e-05/0.472, allocations: 149.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.472, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.472, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.472, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.472, allocations: 3.984 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.472, allocations: 4.031 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.472, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.4721, allocations: 61.14 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.4721, allocations: 88.95 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.4722, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.4722, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.4722, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4722, allocations: 8.031 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.4722, allocations: 83.45 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4722, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001782/0.4724, allocations: 12 kB / 1.021 GB, free: 13.9 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 (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.0003174/0.4727, allocations: 0.628 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.906e-05/0.4728, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4728, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.4728, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.473, allocations: 15.92 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/0.4738, allocations: 1.091 MB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.474, allocations: 0.6729 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.474, allocations: 4.062 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.474, allocations: 11.44 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.474, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.094/1.568, allocations: 1.337 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.568, allocations: 206.9 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/3.053, allocations: 3.938 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches