Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008446, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008923/0.0008924, allocations: 173 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004078, allocations: 15.94 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.826/0.8264, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001421/0.8279, allocations: 0.9883 MB / 1.025 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.8282, allocations: 127.6 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.8282, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.8283, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.8283, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.8285, allocations: 31.89 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.82e-05/0.8286, allocations: 15.92 kB / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.8286, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.8287, allocations: 11.94 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.8287, allocations: 4 kB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8287, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.8289, allocations: 51.94 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.8289, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.8289, allocations: 37.64 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.143e-05/0.829, allocations: 23.95 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.829, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.829, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.829, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003517/0.8294, allocations: 337.4 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.8294, allocations: 12.03 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.8295, allocations: 4.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.8296, allocations: 168.3 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.8296, allocations: 4.375 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.8296, allocations: 384 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.8297, allocations: 33.83 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.8297, allocations: 3.984 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.8298, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8298, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.8298, allocations: 11.92 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.83, allocations: 153.7 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.83, allocations: 30.5 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.8301, allocations: 8.922 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/0.8308, allocations: 0.6091 MB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.8308, allocations: 34.5 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.8308, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.831, allocations: 45.62 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.831, allocations: 55.41 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.619e-05/0.8311, allocations: 97.86 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.8312, allocations: 29.69 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.8312, allocations: 84.27 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.8312, allocations: 3.906 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.8312, allocations: 9.719 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8314, allocations: 318.8 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.8314, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.8314, allocations: 4 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.8314, allocations: 12.86 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8314, allocations: 0 / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.054e-05/0.8315, allocations: 53.53 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.8315, allocations: 8 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8315, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.8316, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.8316, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8316, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.8316, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.8317, allocations: 4 kB / 1.027 GB, free: 12.12 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 (2): * Single equations (assignments): 2 * 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.666e-05/0.8317, allocations: 113.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.8317, allocations: 11.97 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.8318, allocations: 40.83 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.8319, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.8319, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8319, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.228e-05/0.832, allocations: 149.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.832, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.832, allocations: 11.92 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.832, allocations: 3.938 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.832, allocations: 4.031 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.832, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.832, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.8321, allocations: 61.14 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.8322, allocations: 85.03 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.8322, allocations: 7.938 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.8322, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.8322, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.8322, allocations: 4.031 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.8323, allocations: 79.28 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8323, allocations: 0 / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001874/0.8325, allocations: 12 kB / 1.028 GB, free: 11.43 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 (2): * Single equations (assignments): 2 * 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.0001766/0.8327, allocations: 127.1 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.781e-05/0.8327, allocations: 12 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8327, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.8328, allocations: 8.062 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.833, allocations: 12.25 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.8333, allocations: 136.3 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.8335, allocations: 0.6809 MB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.832e-05/0.8336, allocations: 7.438 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8336, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.001928/0.8355, allocations: 0.5985 MB / 1.029 GB, free: 9.789 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches