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.001312/0.001312, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.6 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.098/2.098, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4875, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0018/0.4894, allocations: 1.248 MB / 0.9509 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.4896, allocations: 126.2 kB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.4896, allocations: 1.125 kB / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.4896, allocations: 0 / 0.9511 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.4897, allocations: 5.156 kB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.4899, allocations: 39.25 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.4899, allocations: 13.38 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.4899, allocations: 6.469 kB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.49, allocations: 10.39 kB / 0.9511 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.49, allocations: 7.344 kB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.49, allocations: 1.219 kB / 0.9511 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.4901, allocations: 51.81 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.4901, allocations: 3.984 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.4902, allocations: 6.562 kB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.4902, allocations: 39.02 kB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4903, allocations: 0 / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4903, allocations: 0 / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.4903, allocations: 4 kB / 0.9512 GB, free: 7.984 MB / 0.7169 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.0002296/0.4905, allocations: 327.8 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.4905, allocations: 10.44 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.948e-05/0.4906, allocations: 30.75 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.4906, allocations: 2.375 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.4907, allocations: 173.7 kB / 0.9518 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.4907, allocations: 8.312 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-06/0.4907, allocations: 1.781 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.213e-05/0.4907, allocations: 36.45 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.4907, allocations: 1.375 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.4908, allocations: 0 / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.4908, allocations: 3.938 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.4908, allocations: 8.172 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.608e-05/0.4909, allocations: 148.5 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.279e-05/0.4909, allocations: 24.2 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.461e-05/0.491, allocations: 11.91 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004898/0.4914, allocations: 0.6074 MB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.4915, allocations: 31.78 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4915, allocations: 3.938 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001035/0.4916, allocations: 51.25 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.719e-05/0.4916, allocations: 52.94 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.4916, allocations: 100.8 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.4917, allocations: 31.14 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.117e-05/0.4917, allocations: 84.12 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.4917, allocations: 5.797 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.4917, allocations: 15.12 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.217e-05/0.4918, allocations: 312.6 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.4918, allocations: 1.125 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.4918, allocations: 2.188 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.4918, allocations: 26.66 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.4918, allocations: 0 / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.809e-05/0.4919, allocations: 43.23 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.4919, allocations: 5.094 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4919, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.4919, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.4919, allocations: 3.438 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.492, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.492, allocations: 1.406 kB / 0.9533 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-06/0.492, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7169 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 3.455e-05/0.492, allocations: 120.1 kB / 0.9534 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.492, allocations: 5.25 kB / 0.9534 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.215e-05/0.4921, allocations: 49.05 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4921, allocations: 3.984 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4921, allocations: 1.188 kB / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.4921, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.635e-05/0.4922, allocations: 145.4 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4922, allocations: 3.938 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.4922, allocations: 10.7 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4922, allocations: 1.156 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.4922, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4922, allocations: 1.219 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4923, allocations: 0 / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.047e-05/0.4923, allocations: 66.58 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.4923, allocations: 86.31 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.4923, allocations: 4 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.4924, allocations: 5.625 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-06/0.4924, allocations: 0 / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.4924, allocations: 1.438 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.625e-05/0.4924, allocations: 77.62 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4924, allocations: 1.156 kB / 0.9539 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001804/0.4926, allocations: 18.94 kB / 0.9539 GB, free: 4.988 MB / 0.7169 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.0002148/0.4928, allocations: 0.6321 MB / 0.9545 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.704e-05/0.4929, allocations: 10.94 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4929, allocations: 0 / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.4929, allocations: 4.156 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.4931, allocations: 17.41 kB / 0.9545 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.4936, allocations: 1.085 MB / 0.9556 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.996e-05/0.4937, allocations: 0.6751 MB / 0.9563 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.4938, allocations: 2.656 kB / 0.9563 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.4938, allocations: 12.97 kB / 0.9563 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4938, allocations: 0 / 0.9563 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.5087, allocations: 1.401 MB / 0.9576 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.943, allocations: 7.031 kB / 0.9577 GB, free: 1.73 MB / 0.7169 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