Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_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.001379/0.001379, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001465/0.001465, allocations: 191 kB / 17.29 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62.61 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2459, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002247/0.2482, allocations: 1.252 MB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002628/0.2485, allocations: 127.5 kB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.2485, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.2485, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2486, allocations: 15.91 kB / 0.9525 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2488, allocations: 35.91 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.2488, allocations: 15.92 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2489, allocations: 0 / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.2489, allocations: 11.92 kB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.249, allocations: 15.98 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.249, allocations: 0 / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.2491, allocations: 43.95 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.2491, allocations: 4 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2491, allocations: 11.92 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2492, allocations: 31.94 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2493, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2493, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2493, allocations: 0 / 0.9526 GB, free: 6.457 MB / 0.7325 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.0003457/0.2496, allocations: 347.4 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2497, allocations: 8.031 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.2497, allocations: 4.938 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2498, allocations: 164.3 kB / 0.9531 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2498, allocations: 4.375 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.2498, allocations: 4.312 kB / 0.9531 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.693e-05/0.2499, allocations: 37.81 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-06/0.2499, allocations: 0 / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2499, allocations: 4 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.25, allocations: 7.984 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.25, allocations: 4 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.2501, allocations: 153.7 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.2502, allocations: 26.55 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.2502, allocations: 4.859 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.2509, allocations: 0.6091 MB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2509, allocations: 38.5 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2509, allocations: 0 / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.251, allocations: 41.61 kB / 0.954 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.2511, allocations: 55.41 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.2511, allocations: 97.84 kB / 0.9542 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2512, allocations: 25.7 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.2512, allocations: 84.08 kB / 0.9543 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2512, allocations: 12.03 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.2513, allocations: 13.72 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.2513, allocations: 310.8 kB / 0.9546 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.2514, allocations: 7.984 kB / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.2514, allocations: 0 / 0.9546 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.2514, allocations: 16.86 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2514, allocations: 0 / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.976e-05/0.2515, allocations: 45.7 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2515, allocations: 5.875 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2515, allocations: 0 / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2515, allocations: 0 / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.2516, allocations: 11.92 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2516, allocations: 0 / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.2516, allocations: 0 / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.2516, allocations: 4 kB / 0.9547 GB, free: 3.988 MB / 0.7325 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 5.531e-05/0.2517, allocations: 107.8 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.2517, allocations: 3.938 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.2518, allocations: 48.84 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2518, allocations: 7.938 kB / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2518, allocations: 0 / 0.9549 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2518, allocations: 3.938 kB / 0.9549 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.289e-05/0.2519, allocations: 157.6 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2519, allocations: 0 / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.2519, allocations: 3.938 kB / 0.955 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2519, allocations: 4 kB / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.252, allocations: 0 / 0.955 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.252, allocations: 3.938 kB / 0.955 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.252, allocations: 4.031 kB / 0.955 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.761e-05/0.252, allocations: 63.23 kB / 0.9551 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.2521, allocations: 88.95 kB / 0.9552 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.2521, allocations: 4 kB / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.2521, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.2521, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.2521, allocations: 0 / 0.9552 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.2522, allocations: 91.3 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2522, allocations: 0 / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000209/0.2524, allocations: 12 kB / 0.9553 GB, free: 3.297 MB / 0.7325 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.0001325/0.2525, allocations: 111.2 kB / 0.9554 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.2526, allocations: 11.92 kB / 0.9554 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2526, allocations: 0 / 0.9554 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.2526, allocations: 4 kB / 0.9554 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2529, allocations: 12.12 kB / 0.9554 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.2531, allocations: 110.1 kB / 0.9555 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.2533, allocations: 0.6805 MB / 0.9562 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.2533, allocations: 0 / 0.9562 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.2534, allocations: 11.44 kB / 0.9562 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.2534, allocations: 0 / 0.9562 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.002546/0.2559, allocations: 0.5988 MB / 0.9568 GB, free: 1.707 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches