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.001179/0.001179, 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.001127/0.001127, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.167/1.167, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.029/2.029, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4659, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001944/0.4679, allocations: 1.29 MB / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004074/0.4683, allocations: 299.9 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.4684, allocations: 1.375 kB / 0.9513 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.4684, allocations: 3.938 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.4685, allocations: 13.3 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.4688, allocations: 78.97 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.4688, allocations: 29.08 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.4688, allocations: 6.547 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.4689, allocations: 37.47 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.469, allocations: 8.875 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.469, allocations: 1.375 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.4691, allocations: 78.66 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.4691, allocations: 5.094 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.4692, allocations: 16.48 kB / 0.9515 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.4693, allocations: 77.56 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4693, allocations: 0 / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4693, allocations: 0 / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.4693, allocations: 0 / 0.9516 GB, free: 7.707 MB / 0.7169 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.0002517/0.4696, allocations: 356.9 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.4696, allocations: 9.281 kB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.95e-05/0.4696, allocations: 31.62 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.4697, allocations: 3.219 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.922e-05/0.4697, allocations: 170.5 kB / 0.9521 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.4697, allocations: 9.688 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.4698, allocations: 1.344 kB / 0.9522 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.66e-05/0.4698, allocations: 43.23 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4699, allocations: 4 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.4699, allocations: 0 / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.4699, allocations: 1.375 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.4699, allocations: 9.734 kB / 0.9522 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.536e-05/0.47, allocations: 160.6 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.4701, allocations: 34.11 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.4701, allocations: 8.359 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/0.4708, allocations: 1.194 MB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.4709, allocations: 34.5 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4709, allocations: 1.406 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001238/0.471, allocations: 47.31 kB / 0.9537 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.385e-05/0.471, allocations: 56.78 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/0.4711, allocations: 110.8 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.4711, allocations: 29.7 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.132e-05/0.4711, allocations: 81.2 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.4711, allocations: 8.844 kB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.4712, allocations: 17.84 kB / 0.9539 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.4712, allocations: 315.9 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.4712, allocations: 11.19 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.168e-05/0.4712, allocations: 7.094 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.046e-05/0.4713, allocations: 16.89 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4713, allocations: 0 / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.761e-05/0.4713, allocations: 50.31 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4713, allocations: 4.562 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.4713, allocations: 0 / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4714, allocations: 1.906 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.4714, allocations: 7.234 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4714, allocations: 1.875 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.4714, allocations: 4 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.4714, allocations: 1.594 kB / 0.9543 GB, free: 4.629 MB / 0.7169 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 3.735e-05/0.4715, allocations: 115.2 kB / 0.9545 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.4715, allocations: 9.031 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.4716, allocations: 58.09 kB / 0.9545 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4716, allocations: 0 / 0.9545 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4716, allocations: 7.984 kB / 0.9545 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4716, allocations: 4 kB / 0.9545 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.512e-05/0.4717, allocations: 160.2 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4717, allocations: 3.938 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.4717, allocations: 5.562 kB / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4717, allocations: 0 / 0.9547 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.4717, allocations: 5.469 kB / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4717, allocations: 0 / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4718, allocations: 0 / 0.9547 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.371e-05/0.4718, allocations: 75.81 kB / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.4719, allocations: 91.84 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.4719, allocations: 0 / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.4719, allocations: 1.25 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.4719, allocations: 5.594 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4719, allocations: 1.375 kB / 0.9549 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.472, allocations: 90.78 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.472, allocations: 0 / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001973/0.4722, allocations: 31.34 kB / 0.955 GB, free: 3.945 MB / 0.7169 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.000248/0.4724, allocations: 0.6439 MB / 0.9556 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.4725, allocations: 18.45 kB / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4725, allocations: 0 / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.4725, allocations: 5.812 kB / 0.9556 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4727, allocations: 10.83 kB / 0.9556 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.473, allocations: 171.7 kB / 0.9558 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.4731, allocations: 0.6823 MB / 0.9565 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.4731, allocations: 11.92 kB / 0.9565 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.4732, allocations: 9.562 kB / 0.9565 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4732, allocations: 1.125 kB / 0.9565 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.075/1.548, allocations: 1.594 MB / 0.9581 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/10.71, allocations: 9.312 kB / 0.9581 GB, free: 1.531 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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