Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_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.005347/0.005347, allocations: 103.6 kB / 15.74 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.001274/0.001274, allocations: 201.1 kB / 16.68 MB, free: 5.965 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2699, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00235/0.2723, allocations: 1.286 MB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005376/0.2729, allocations: 311.2 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.2729, allocations: 0 / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.273, allocations: 3.984 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2731, allocations: 19.84 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.2734, allocations: 67.73 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.2734, allocations: 43.84 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.2735, allocations: 4 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2736, allocations: 27.91 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.2737, allocations: 19.86 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2737, allocations: 0 / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2739, allocations: 87.91 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.2739, allocations: 4 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.2739, allocations: 15.92 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2741, allocations: 76 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2741, allocations: 3.938 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.52e-07/0.2741, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2741, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 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.0004078/0.2745, allocations: 355.2 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2746, allocations: 8.031 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2746, allocations: 38.75 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.2747, allocations: 4.938 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2749, allocations: 168.3 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2749, allocations: 4.375 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2749, allocations: 4.125 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.275, allocations: 37.69 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.275, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.275, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.275, allocations: 4 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.2751, allocations: 7.938 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.2753, allocations: 161.7 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.747e-05/0.2754, allocations: 34.61 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.2755, allocations: 16.86 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.2766, allocations: 1.183 MB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.2766, allocations: 30.56 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2766, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001592/0.2768, allocations: 61.56 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.2768, allocations: 51.41 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.2769, allocations: 109.8 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.2769, allocations: 25.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.277, allocations: 84.14 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.277, allocations: 15.88 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.277, allocations: 17.7 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2772, allocations: 318.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.2773, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.2773, allocations: 4 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.109e-05/0.2773, allocations: 24.73 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2773, allocations: 7.922 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.248e-05/0.2774, allocations: 53.59 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2774, allocations: 4 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2774, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2775, allocations: 4 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.2775, allocations: 7.984 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2775, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.2775, allocations: 4 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2775, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 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 8.852e-05/0.2776, allocations: 109.8 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.2777, allocations: 7.938 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.2778, allocations: 61.84 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2778, allocations: 3.984 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2778, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2778, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2779, allocations: 161.6 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2779, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.278, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.278, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.278, allocations: 4 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.278, allocations: 3.984 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.278, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.322e-05/0.2781, allocations: 80.95 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.2782, allocations: 85.09 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2782, allocations: 0 / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.2782, allocations: 0 / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.2783, allocations: 8 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.2783, allocations: 0 / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.2783, allocations: 91.27 kB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2783, allocations: 0 / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000229/0.2785, allocations: 27.88 kB / 1.171 GB, free: 1.332 MB / 0.92 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.0006077/0.2792, allocations: 0.644 MB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.759e-05/0.2793, allocations: 19.92 kB / 1.172 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2793, allocations: 4 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.531e-05/0.2793, allocations: 7.938 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2795, allocations: 7.984 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.2799, allocations: 155.5 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2802, allocations: 0.6922 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.2802, allocations: 11.98 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2803, allocations: 7.438 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2803, allocations: 0 / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.2963, allocations: 1.628 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.175, allocations: 15.95 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches