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.001618/0.001618, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001832/0.001832, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.541/2.541, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 61.2 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002293/0.261, allocations: 1.26 MB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002682/0.2612, allocations: 115.6 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.2613, allocations: 7.938 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.2613, allocations: 3.938 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.2614, allocations: 3.984 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.2616, allocations: 43.83 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.2617, allocations: 11.94 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.2617, allocations: 7.938 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.2618, allocations: 0 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.2618, allocations: 11.97 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2618, allocations: 0 / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.262, allocations: 51.94 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.262, allocations: 7.938 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.262, allocations: 4 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2621, allocations: 43.89 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2621, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2621, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2621, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 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.000346/0.2625, allocations: 331.4 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.2625, allocations: 8.922 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2626, allocations: 0.9375 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2627, allocations: 172.4 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2627, allocations: 8.375 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.2627, allocations: 384 / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.2628, allocations: 37.77 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2628, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2628, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2628, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.2629, allocations: 4 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.263, allocations: 161.6 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.2631, allocations: 26.58 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.2631, allocations: 8.922 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/0.2637, allocations: 0.6012 MB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2638, allocations: 42.44 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2638, allocations: 0 / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.2639, allocations: 41.69 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2639, allocations: 55.53 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.264, allocations: 97.86 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.264, allocations: 25.7 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.2641, allocations: 84.14 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2641, allocations: 3.906 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.2641, allocations: 17.7 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.2642, allocations: 314.8 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.2642, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.2643, allocations: 15.88 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.2643, allocations: 12.86 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2643, allocations: 3.938 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.778e-05/0.2644, allocations: 41.62 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2644, allocations: 8 kB / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2644, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.2644, allocations: 0 / 1.022 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.2645, allocations: 4 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2645, allocations: 4.094 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.2645, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.2645, allocations: 0 / 1.022 GB, free: 5.809 MB / 0.795 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.228e-05/0.2646, allocations: 118.4 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.2646, allocations: 3.938 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.2647, allocations: 44.81 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2647, allocations: 192 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2647, allocations: 0 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2647, allocations: 3.984 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.2648, allocations: 157.6 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2648, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.2648, allocations: 7.938 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2648, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2648, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2649, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2649, allocations: 4 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.529e-05/0.2649, allocations: 69.06 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.265, allocations: 88.98 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.265, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.265, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.265, allocations: 7.984 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.265, allocations: 4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.2651, allocations: 79.28 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2651, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001932/0.2653, allocations: 16 kB / 1.023 GB, free: 5.113 MB / 0.795 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.0001476/0.2654, allocations: 111.2 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.921e-05/0.2655, allocations: 12 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2655, allocations: 3.938 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.2655, allocations: 4 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.2657, allocations: 11.92 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.266, allocations: 106.1 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2662, allocations: 0.6846 MB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.2662, allocations: 0 / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.2662, allocations: 7.438 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2663, allocations: 0 / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of Templates: time 0.002506/0.2688, allocations: 0.5911 MB / 1.024 GB, free: 3.531 MB / 0.795 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 -s gbode -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