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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008163/0.008163, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001941/0.001941, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.312, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00218/0.3142, allocations: 1.284 MB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005312/0.3147, allocations: 298.9 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.3148, allocations: 0 / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.3148, allocations: 3.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.3149, allocations: 15.91 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.3153, allocations: 87.61 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.3154, allocations: 35.84 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.3154, allocations: 4 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3155, allocations: 31.91 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.3156, allocations: 11.94 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3156, allocations: 4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3158, allocations: 83.91 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.3158, allocations: 7.922 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.3158, allocations: 11.92 kB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.316, allocations: 79.78 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.316, allocations: 0 / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.316, allocations: 0 / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.316, allocations: 0 / 1.21 GB, free: 7.699 MB / 0.9669 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.000381/0.3164, allocations: 351.4 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3164, allocations: 12.62 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3165, allocations: 8.844 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3166, allocations: 164.3 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3166, allocations: 4.375 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.3166, allocations: 384 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.417e-05/0.3167, allocations: 41.62 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3167, allocations: 0 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3168, allocations: 4 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3168, allocations: 0 / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/0.3168, allocations: 7.984 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.317, allocations: 169.6 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.3171, allocations: 38.5 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.3171, allocations: 12.92 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3182, allocations: 1.191 MB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3182, allocations: 30.56 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.3182, allocations: 4 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001495/0.3184, allocations: 49.62 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.3184, allocations: 59.28 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.175e-05/0.3185, allocations: 113.8 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3185, allocations: 29.7 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3185, allocations: 80.14 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3186, allocations: 7.844 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3186, allocations: 21.62 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.3187, allocations: 318.8 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3187, allocations: 0 / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.3187, allocations: 4 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.3188, allocations: 16.86 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3188, allocations: 4 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.279e-05/0.3189, allocations: 53.56 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3189, allocations: 4 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3189, allocations: 4.312 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3189, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.319, allocations: 4 kB / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.319, allocations: 0 / 1.212 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.319, allocations: 3.984 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.319, allocations: 3.984 kB / 1.212 GB, free: 4.434 MB / 0.9669 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.871e-05/0.3191, allocations: 117.8 kB / 1.212 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.3191, allocations: 3.938 kB / 1.212 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.3193, allocations: 53.59 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3193, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3193, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3193, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3194, allocations: 173.5 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.3194, allocations: 3.938 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.3194, allocations: 8 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3194, allocations: 0 / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3195, allocations: 4 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3195, allocations: 0 / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3195, allocations: 0 / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.3196, allocations: 65.12 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3196, allocations: 89.03 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.3196, allocations: 4.359 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.094e-05/0.3197, allocations: 12 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.3197, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3197, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.3198, allocations: 87.27 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3198, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000212/0.32, allocations: 28 kB / 1.213 GB, free: 3.688 MB / 0.9669 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.0001709/0.3202, allocations: 131.1 kB / 1.213 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.3203, allocations: 23.91 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3203, allocations: 8 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.3203, allocations: 4 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.3205, allocations: 13.66 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.3208, allocations: 131.8 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.321, allocations: 0.6807 MB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.3211, allocations: 11.98 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.3211, allocations: 7.438 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3211, allocations: 0 / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of Templates: time 0.002793/0.3239, allocations: 0.7841 MB / 1.215 GB, free: 1.844 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/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