Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_9_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.004532/0.004532, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001066/0.001066, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 66.58 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2267, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002226/0.229, allocations: 1.255 MB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.2293, allocations: 116 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.2294, allocations: 4 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.2294, allocations: 3.938 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.2295, allocations: 7.984 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2297, allocations: 35.84 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.2298, allocations: 23.78 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.2298, allocations: 4 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.2299, allocations: 4 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.2299, allocations: 7.984 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2299, allocations: 0 / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2301, allocations: 47.95 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2301, allocations: 11.94 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.2301, allocations: 3.984 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2303, allocations: 39.88 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2303, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2303, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2303, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 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.000398/0.2307, allocations: 340.5 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2307, allocations: 8.031 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.2308, allocations: 30.75 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.2308, allocations: 4.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.231, allocations: 168.3 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.231, allocations: 384 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.231, allocations: 4.125 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.36e-05/0.2311, allocations: 41.62 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2311, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.2311, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2311, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.2311, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2313, allocations: 158.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.2313, allocations: 18.61 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.2314, allocations: 16.86 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.232, allocations: 0.6051 MB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2321, allocations: 38.5 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2321, allocations: 0 / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.2322, allocations: 41.7 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2322, allocations: 51.41 kB / 1.09 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.2323, allocations: 101.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.2323, allocations: 25.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.2324, allocations: 84.14 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2324, allocations: 8.125 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.2324, allocations: 13.72 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/0.2325, allocations: 319 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2326, allocations: 4 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.2326, allocations: 7.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.2326, allocations: 12.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2326, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.963e-05/0.2327, allocations: 49.58 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.2327, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2327, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2327, allocations: 4.078 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.2328, allocations: 8 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.2328, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.2328, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.2328, allocations: 192 / 1.091 GB, free: 13.91 MB / 0.8575 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.561e-05/0.2329, allocations: 109.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.2329, allocations: 3.938 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.233, allocations: 52.73 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.233, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.233, allocations: 4.031 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.233, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.2331, allocations: 153.6 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2331, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.2332, allocations: 4 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2332, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.2332, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2332, allocations: 7.984 kB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2332, allocations: 0 / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.376e-05/0.2333, allocations: 76.91 kB / 1.091 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2333, allocations: 77.11 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.2333, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.2333, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.2334, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2334, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.2334, allocations: 87.27 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2334, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001947/0.2336, allocations: 16 kB / 1.092 GB, free: 13.22 MB / 0.8575 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.0003709/0.234, allocations: 0.6086 MB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.2341, allocations: 19.92 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2341, allocations: 3.938 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-05/0.2341, allocations: 8.094 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2343, allocations: 8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008665/0.2352, allocations: 1.099 MB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2354, allocations: 0.6768 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.2355, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.2355, allocations: 11.44 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2355, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.2517, allocations: 1.432 MB / 1.095 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.007, allocations: 11.47 kB / 1.095 GB, free: 9.301 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches