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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009947/0.0009946, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.177/1.177, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.327/2.327, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 66.77 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2252, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002052/0.2273, allocations: 1.324 MB / 1.053 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002664/0.2276, allocations: 127.5 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.373e-05/0.2276, allocations: 0 / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2276, allocations: 3.938 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.2277, allocations: 3.984 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.2278, allocations: 27.91 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.2279, allocations: 15.94 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.2279, allocations: 7.969 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.2279, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.228, allocations: 7.938 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.228, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2281, allocations: 51.94 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.2281, allocations: 3.984 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.2282, allocations: 8 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.997e-05/0.2283, allocations: 43.89 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2283, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2283, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2283, allocations: 3.938 kB / 1.054 GB, free: 6.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003175/0.2286, allocations: 323.8 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2286, allocations: 19.91 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.2287, allocations: 34.75 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.2287, allocations: 0.9375 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2288, allocations: 168.3 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2288, allocations: 8.375 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.2288, allocations: 384 / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.2289, allocations: 33.64 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.2289, allocations: 0 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.2289, allocations: 0 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2289, allocations: 0 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.229, allocations: 11.98 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.2291, allocations: 145.7 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/0.2291, allocations: 38.5 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.2292, allocations: 8.922 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006487/0.2298, allocations: 0.6012 MB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2298, allocations: 42.55 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2299, allocations: 0 / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001245/0.23, allocations: 37.73 kB / 1.055 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.23, allocations: 59.38 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.2301, allocations: 101.8 kB / 1.055 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2301, allocations: 25.7 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.2301, allocations: 84.14 kB / 1.055 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.2301, allocations: 3.906 kB / 1.055 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.2302, allocations: 13.72 kB / 1.055 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.2303, allocations: 314.8 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.2303, allocations: 4 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.2303, allocations: 4 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.2303, allocations: 16.84 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2303, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.236e-05/0.2304, allocations: 41.58 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.2304, allocations: 8 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2304, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.2304, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.159e-05/0.2305, allocations: 4 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2305, allocations: 4.094 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2305, allocations: 4 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2305, allocations: 0 / 1.056 GB, free: 4.066 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 (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.444e-05/0.2306, allocations: 113.8 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.2306, allocations: 7.938 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.2307, allocations: 44.81 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2307, allocations: 3.938 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2307, allocations: 3.938 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2307, allocations: 4.031 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.606e-05/0.2308, allocations: 153.7 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2308, allocations: 11.92 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.2308, allocations: 4 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2308, allocations: 0 / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.2309, allocations: 0 / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2309, allocations: 0 / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2309, allocations: 3.984 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.2309, allocations: 73.03 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.231, allocations: 81.23 kB / 1.056 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.231, allocations: 0 / 1.056 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.231, allocations: 3.984 kB / 1.056 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.231, allocations: 7.938 kB / 1.056 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.231, allocations: 0 / 1.056 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.2311, allocations: 79.28 kB / 1.056 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.313e-06/0.2311, allocations: 0 / 1.056 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001926/0.2313, allocations: 27.92 kB / 1.056 GB, free: 3.355 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 (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.000321/0.2316, allocations: 0.6047 MB / 1.057 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.2317, allocations: 8 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2317, allocations: 0 / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.2317, allocations: 7.938 kB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2319, allocations: 16.14 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.2326, allocations: 1.096 MB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2328, allocations: 0.6731 MB / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.2329, allocations: 0 / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.2329, allocations: 15.42 kB / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2329, allocations: 0 / 1.059 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.006/1.239, allocations: 1.287 MB / 1.06 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/1.239, allocations: 212.8 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.804, allocations: 5.312 kB / 1.06 GB, free: 15.36 MB / 0.8262 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