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.01097/0.01097, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.002795/0.002794, allocations: 196.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.665/2.665, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 4.433/4.433, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 71.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5089, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003605/0.5126, allocations: 1.284 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.5135, allocations: 307.2 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.5135, allocations: 0 / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.5136, allocations: 3.938 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.5137, allocations: 7.922 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.5142, allocations: 79.72 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.5143, allocations: 31.91 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.5144, allocations: 4 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.5145, allocations: 31.84 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.5146, allocations: 15.92 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.5146, allocations: 4 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.5149, allocations: 87.91 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.5149, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.515, allocations: 11.88 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.5153, allocations: 80 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5153, allocations: 0 / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.519e-06/0.5153, allocations: 0 / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5153, allocations: 3.938 kB / 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.0006376/0.5159, allocations: 359.2 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.516, allocations: 8.031 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.5161, allocations: 38.73 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.5161, allocations: 0.9375 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.5163, allocations: 168.3 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.5164, allocations: 384 / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.5164, allocations: 4.125 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5166, allocations: 49.61 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5166, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5166, allocations: 0 / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5166, allocations: 4 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.923e-05/0.5167, allocations: 8 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.517, allocations: 161.7 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.5171, allocations: 30.58 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.5172, allocations: 12.86 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001813/0.519, allocations: 1.187 MB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.5191, allocations: 38.5 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.5191, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002337/0.5193, allocations: 49.64 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5194, allocations: 55.41 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.5195, allocations: 113.8 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5196, allocations: 25.7 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.5196, allocations: 80.14 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.5197, allocations: 15.88 kB / 1.17 GB, free: 2.539 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.5198, allocations: 17.72 kB / 1.17 GB, free: 2.516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.52, allocations: 310.8 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.52, allocations: 4 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.52, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.5201, allocations: 28.78 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5201, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001359/0.5203, allocations: 53.58 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5203, allocations: 11.94 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5203, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5203, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.5204, allocations: 4 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5204, allocations: 320 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.5205, allocations: 4 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.5205, allocations: 7.938 kB / 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 0.0001225/0.5206, allocations: 120.2 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.5207, allocations: 7.938 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.5209, allocations: 57.89 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5209, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5209, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5209, allocations: 4.031 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.5211, allocations: 161.6 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5211, allocations: 4 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.5212, allocations: 8 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5212, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.5212, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5212, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5212, allocations: 3.984 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.5214, allocations: 80.95 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.5215, allocations: 77.11 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.5215, allocations: 8 kB / 1.171 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.5216, allocations: 4 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.5216, allocations: 3.984 kB / 1.171 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5217, allocations: 4 kB / 1.171 GB, free: 1.438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.5217, allocations: 79.28 kB / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5218, allocations: 0 / 1.171 GB, free: 1.359 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004153/0.5222, allocations: 35.86 kB / 1.171 GB, free: 1.324 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.0006972/0.5229, allocations: 0.6434 MB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.523, allocations: 16 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5231, allocations: 0 / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.5231, allocations: 7.984 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.0003754/0.5235, allocations: 11.94 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.5241, allocations: 163.4 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5246, allocations: 0.6807 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.5246, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.5247, allocations: 11.44 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.5247, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.6475, allocations: 1.624 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.09/21.74, allocations: 22.52 kB / 1.175 GB, free: 14.17 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