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.006658/0.006658, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001644/0.001644, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.334/2.334, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.94 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2643, allocations: 140.4 MB / 1.087 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002421/0.2668, allocations: 1.282 MB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005943/0.2674, allocations: 303.2 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.2675, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.2675, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2676, allocations: 19.89 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.2679, allocations: 71.73 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.268, allocations: 43.78 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.268, allocations: 4 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.2681, allocations: 19.98 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.82e-05/0.2682, allocations: 23.91 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2682, allocations: 0 / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.2684, allocations: 79.91 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2684, allocations: 7.875 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.2684, allocations: 11.94 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2686, allocations: 78.64 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2686, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2686, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2687, allocations: 4 kB / 1.089 GB, free: 28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004352/0.2691, allocations: 352.2 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2691, allocations: 8.031 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2692, allocations: 38.75 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.2692, allocations: 4.844 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2693, allocations: 164.4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2693, allocations: 384 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2694, allocations: 4.125 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2695, allocations: 49.67 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2695, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2695, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2695, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.2696, allocations: 15.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.2698, allocations: 157.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2699, allocations: 34.52 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.2699, allocations: 16.86 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.271, allocations: 1.187 MB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.2711, allocations: 30.56 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2711, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001862/0.2713, allocations: 61.53 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.2713, allocations: 51.41 kB / 1.091 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.2714, allocations: 105.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2714, allocations: 25.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2715, allocations: 92.11 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.2715, allocations: 7.906 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.2715, allocations: 13.72 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2717, allocations: 314.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.2717, allocations: 8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.2717, allocations: 7.984 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.2717, allocations: 16.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2717, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.93e-05/0.2718, allocations: 53.53 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2719, allocations: 9.875 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2719, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2719, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.2719, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.272, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.931e-05/0.272, allocations: 8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.272, allocations: 0 / 1.092 GB, free: 12.72 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 (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 7.237e-05/0.2721, allocations: 105.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.2721, allocations: 7.938 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.2722, allocations: 61.84 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2722, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2723, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2723, allocations: 4.031 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2724, allocations: 157.6 kB / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2724, allocations: 0 / 1.092 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.2724, allocations: 8 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.2724, allocations: 7.922 kB / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.2725, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2725, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2725, allocations: 0 / 1.092 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.2726, allocations: 88.91 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.2726, allocations: 81.05 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2727, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.2727, allocations: 7.984 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.2727, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2727, allocations: 4 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.2728, allocations: 83.28 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002408/0.273, allocations: 31.92 kB / 1.093 GB, free: 11.96 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 (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.0004498/0.2735, allocations: 0.642 MB / 1.093 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.2736, allocations: 23.92 kB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2736, allocations: 0 / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.2736, allocations: 8 kB / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2739, allocations: 0 / 1.093 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.2743, allocations: 171.7 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.2745, allocations: 0.6807 MB / 1.094 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.4e-05/0.2746, allocations: 8.547 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2746, allocations: 15.31 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.2746, allocations: 0 / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.2939, allocations: 1.628 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.414, allocations: 8.797 kB / 1.096 GB, free: 8.812 MB / 0.8575 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