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.001289/0.001289, 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.001323/0.001323, allocations: 196.3 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.35/2.35, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5413, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00212/0.5434, allocations: 1.278 MB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004975/0.5439, allocations: 298.9 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.544, allocations: 8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.544, allocations: 3.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.5441, allocations: 7.922 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.5443, allocations: 79.66 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.5444, allocations: 27.92 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.5445, allocations: 15.91 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.5445, allocations: 27.92 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.5446, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.5446, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.5448, allocations: 79.91 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.5448, allocations: 7.938 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.5448, allocations: 11.92 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.545, allocations: 86.09 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.545, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.545, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.545, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7637 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.0003625/0.5454, allocations: 351.3 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5454, allocations: 8.031 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.971e-05/0.5454, allocations: 30.75 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.5455, allocations: 4.938 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5456, allocations: 176.2 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.5456, allocations: 12.31 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.5456, allocations: 384 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.5457, allocations: 45.56 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.5457, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.5457, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5457, allocations: 3.984 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.5458, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.5459, allocations: 165.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.805e-05/0.546, allocations: 38.61 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.5461, allocations: 8.922 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.5471, allocations: 1.183 MB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5472, allocations: 46.44 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5472, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.5473, allocations: 45.69 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.5473, allocations: 55.41 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.5474, allocations: 109.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5474, allocations: 25.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.553e-05/0.5475, allocations: 80.14 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.5475, allocations: 7.812 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.5475, allocations: 29.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.5476, allocations: 310.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.5476, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.5477, allocations: 7.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.5477, allocations: 16.86 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.5477, allocations: 7.984 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.425e-05/0.5478, allocations: 45.64 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5478, allocations: 8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5478, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.5478, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.5479, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.5479, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.5479, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5479, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 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 5.765e-05/0.548, allocations: 113.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.548, allocations: 11.84 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.5481, allocations: 53.59 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5481, allocations: 4.359 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5481, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5481, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.62e-05/0.5482, allocations: 157.6 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5482, allocations: 3.938 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.5483, allocations: 11.98 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5483, allocations: 7.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.5483, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5483, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5483, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.632e-05/0.5484, allocations: 73 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.5485, allocations: 92.94 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.5485, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.5485, allocations: 8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5485, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.5485, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.5486, allocations: 91.27 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5486, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001994/0.5488, allocations: 28 kB / 1.023 GB, free: 12.52 MB / 0.7794 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.0004035/0.5492, allocations: 0.6358 MB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.5493, allocations: 16 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5493, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.5493, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.5495, allocations: 13.36 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.5498, allocations: 167.6 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.55, allocations: 0.6768 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.5501, allocations: 12.53 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.5501, allocations: 11.44 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5501, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.5668, allocations: 1.597 MB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.316, allocations: 6.625 kB / 1.026 GB, free: 9.375 MB / 0.7794 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