Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 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.001173/0.001173, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.195/1.195, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.091/2.091, allocations: 390.2 MB / 0.6647 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.08 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4795, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001782/0.4813, allocations: 1.29 MB / 0.951 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003837/0.4817, allocations: 295.5 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.4817, allocations: 0 / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.4817, allocations: 5.312 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.921e-05/0.4818, allocations: 17.28 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.4821, allocations: 74.41 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.148e-05/0.4821, allocations: 41.44 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.4821, allocations: 2.562 kB / 0.9514 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.4822, allocations: 25.33 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.4823, allocations: 16.83 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.4823, allocations: 1.312 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4824, allocations: 87.97 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.4824, allocations: 0 / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.4825, allocations: 16.42 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.4826, allocations: 77.16 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4826, allocations: 0 / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4826, allocations: 1.281 kB / 0.9516 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.4826, allocations: 0 / 0.9516 GB, free: 7.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002427/0.4829, allocations: 351 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.4829, allocations: 9.562 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.4829, allocations: 34.75 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.4829, allocations: 3.531 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.811e-05/0.483, allocations: 177.7 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.483, allocations: 1.906 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-06/0.483, allocations: 5.531 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.089e-05/0.4831, allocations: 38.98 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.4831, allocations: 3.984 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.4831, allocations: 1.125 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4831, allocations: 0 / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.4832, allocations: 14.55 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.311e-05/0.4833, allocations: 160.7 kB / 0.9524 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.4833, allocations: 37.14 kB / 0.9524 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.4834, allocations: 8.891 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.4841, allocations: 1.189 MB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.4841, allocations: 32.06 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4841, allocations: 0 / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001144/0.4842, allocations: 48.22 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.4843, allocations: 56.69 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.989e-05/0.4843, allocations: 110.2 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4843, allocations: 27.08 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.4843, allocations: 88.12 kB / 0.9539 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.4844, allocations: 9.062 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.4844, allocations: 22.08 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.4844, allocations: 312.2 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.4844, allocations: 2.719 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.4844, allocations: 7.562 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.4845, allocations: 20.25 kB / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4845, allocations: 0 / 0.9543 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.496e-05/0.4845, allocations: 49.17 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.4846, allocations: 5.469 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/0.4846, allocations: 3.938 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.4846, allocations: 5.062 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.4846, allocations: 9.016 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.4846, allocations: 0 / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.4847, allocations: 1.281 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.4847, allocations: 1.344 kB / 0.9544 GB, free: 4.676 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 (3): * Single equations (assignments): 3 * 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.609e-05/0.4847, allocations: 111.1 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.4847, allocations: 14.47 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.4848, allocations: 59.89 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4848, allocations: 1.031 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.4848, allocations: 0 / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.4848, allocations: 0 / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.188e-05/0.4849, allocations: 160.4 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4849, allocations: 3.938 kB / 0.9547 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.4849, allocations: 13.06 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4849, allocations: 0 / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.4849, allocations: 1.25 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.485, allocations: 1.25 kB / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.485, allocations: 0 / 0.9547 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.138e-05/0.485, allocations: 71.89 kB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.4851, allocations: 91.38 kB / 0.9549 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.4851, allocations: 9.031 kB / 0.9549 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.4851, allocations: 4 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.4851, allocations: 2.844 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.4851, allocations: 1.094 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.4852, allocations: 92.56 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4852, allocations: 1.375 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001903/0.4854, allocations: 28.12 kB / 0.955 GB, free: 3.992 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 (3): * Single equations (assignments): 3 * 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.0002353/0.4856, allocations: 0.6396 MB / 0.9556 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.4857, allocations: 13.25 kB / 0.9556 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4857, allocations: 1 kB / 0.9556 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.4857, allocations: 14.72 kB / 0.9556 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.4859, allocations: 6.391 kB / 0.9557 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.4862, allocations: 175.5 kB / 0.9558 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.804e-05/0.4862, allocations: 0.6834 MB / 0.9565 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.4863, allocations: 4 kB / 0.9565 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.4863, allocations: 13.91 kB / 0.9565 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.4863, allocations: 4 kB / 0.9565 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.5016, allocations: 1.59 MB / 0.9581 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.45/6.952, allocations: 18.5 kB / 0.9581 GB, free: 1.574 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches