Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.00743/0.00743, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001582/0.001583, allocations: 192.3 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 1.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.355/2.355, allocations: 469.4 MB / 0.7421 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.09 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7071, allocations: 159.1 MB / 1.22 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002299/0.7095, allocations: 1.296 MB / 1.221 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005144/0.71, allocations: 302.9 kB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.7101, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.7101, allocations: 3.938 kB / 1.221 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.7102, allocations: 7.922 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.7105, allocations: 87.67 kB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.7106, allocations: 35.84 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.7106, allocations: 4 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.693e-05/0.7107, allocations: 35.89 kB / 1.221 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.7108, allocations: 11.94 kB / 1.221 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.7108, allocations: 4 kB / 1.221 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.7109, allocations: 79.91 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.711, allocations: 7.938 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.711, allocations: 7.938 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.7111, allocations: 75.44 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7112, allocations: 0 / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7112, allocations: 0 / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7112, allocations: 3.984 kB / 1.222 GB, free: 380 kB / 0.9356 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.0003644/0.7115, allocations: 359.2 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7116, allocations: 8.625 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.7116, allocations: 30.75 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.7117, allocations: 8.891 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.7118, allocations: 168.3 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.7118, allocations: 384 / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.7118, allocations: 4.125 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.591e-05/0.7119, allocations: 37.69 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.7119, allocations: 8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.7119, allocations: 0 / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.7119, allocations: 0 / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.712, allocations: 11.92 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.7121, allocations: 161.7 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.7122, allocations: 38.5 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.7122, allocations: 16.86 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.7132, allocations: 1.183 MB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.7133, allocations: 34.56 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7133, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001494/0.7134, allocations: 49.64 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.7135, allocations: 63.34 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.7136, allocations: 109.8 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.7136, allocations: 25.7 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.7136, allocations: 84.14 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.7136, allocations: 7.891 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.7137, allocations: 21.67 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.7138, allocations: 318.8 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.7138, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.7138, allocations: 8.188 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.7139, allocations: 20.94 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7139, allocations: 4 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.156e-05/0.7139, allocations: 53.56 kB / 1.224 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.714, allocations: 8 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.714, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.714, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.543e-05/0.714, allocations: 4 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.714, allocations: 0 / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.7141, allocations: 3.984 kB / 1.224 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7141, allocations: 8 kB / 1.224 GB, free: 13.05 MB / 0.9512 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 6.083e-05/0.7141, allocations: 106.4 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.7142, allocations: 7.938 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.7143, allocations: 53.59 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7143, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7143, allocations: 4 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.7143, allocations: 4 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.7144, allocations: 169.5 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7144, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.7145, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7145, allocations: 4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.7145, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7145, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7145, allocations: 0 / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/0.7146, allocations: 77.06 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.7147, allocations: 89.05 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.7147, allocations: 3.938 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.7147, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.7147, allocations: 3.938 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.7147, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.7148, allocations: 91.27 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7148, allocations: 0 / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002054/0.715, allocations: 27.88 kB / 1.225 GB, free: 12.3 MB / 0.9512 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.0004013/0.7154, allocations: 0.6396 MB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.394e-05/0.7155, allocations: 19.98 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7155, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.58e-05/0.7155, allocations: 8.219 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.7157, allocations: 10.27 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.7161, allocations: 163.5 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.7163, allocations: 0.6846 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.7163, allocations: 11.97 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.7164, allocations: 11.44 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.7164, allocations: 0 / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.7326, allocations: 1.639 MB / 1.228 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.96, allocations: 13 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches