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.006207/0.006207, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001402/0.001402, allocations: 195.9 kB / 16.79 MB, free: 5.805 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.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.399/2.399, allocations: 390.2 MB / 0.6649 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7487, allocations: 140.4 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002153/0.7509, allocations: 1.328 MB / 0.9509 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.7512, allocations: 124.4 kB / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.494e-05/0.7512, allocations: 0 / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.7513, allocations: 0 / 0.951 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.7513, allocations: 9.297 kB / 0.951 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.7515, allocations: 24.22 kB / 0.951 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.176e-05/0.7516, allocations: 14.81 kB / 0.951 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.7516, allocations: 5.359 kB / 0.9511 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.7516, allocations: 6.688 kB / 0.9511 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.7517, allocations: 6.734 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.7517, allocations: 1.375 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.7518, allocations: 55.03 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.7518, allocations: 1.031 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.7519, allocations: 6.75 kB / 0.9511 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.752, allocations: 30.69 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.752, allocations: 0 / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.752, allocations: 0 / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.752, allocations: 1.031 kB / 0.9512 GB, free: 7.805 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000288/0.7523, allocations: 326.4 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7523, allocations: 9.844 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.7523, allocations: 2.125 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.7524, allocations: 169.4 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7525, allocations: 5.375 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.7525, allocations: 9.578 kB / 0.9517 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.65e-05/0.7525, allocations: 33.02 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.7525, allocations: 0 / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7526, allocations: 0 / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.7526, allocations: 1.281 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.428e-05/0.7526, allocations: 11.25 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.7527, allocations: 153.2 kB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.7528, allocations: 28.3 kB / 0.9519 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.7528, allocations: 7.109 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/0.7534, allocations: 0.6039 MB / 0.9525 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.7534, allocations: 39.66 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7534, allocations: 0 / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.7536, allocations: 47.09 kB / 0.9526 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.7536, allocations: 60.75 kB / 0.9526 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.885e-05/0.7536, allocations: 97.73 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.7537, allocations: 25.7 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.554e-05/0.7537, allocations: 81.33 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7537, allocations: 5.281 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.7537, allocations: 16.3 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.7538, allocations: 314.8 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.7538, allocations: 2.531 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.7538, allocations: 6.438 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.7538, allocations: 14.08 kB / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7539, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.326e-05/0.7539, allocations: 50.72 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7539, allocations: 5 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.7539, allocations: 0 / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.754, allocations: 5.297 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.754, allocations: 2.281 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.754, allocations: 1.312 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.754, allocations: 4.094 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.754, allocations: 1.375 kB / 0.9532 GB, free: 5.488 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 (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 4.288e-05/0.7541, allocations: 111.1 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-06/0.7541, allocations: 5.281 kB / 0.9533 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.274e-05/0.7542, allocations: 48.84 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.7542, allocations: 0 / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7542, allocations: 1.094 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7542, allocations: 0 / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.7543, allocations: 153.7 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7543, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.7543, allocations: 11.59 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.7543, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.7543, allocations: 0 / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7543, allocations: 1.625 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7543, allocations: 3.984 kB / 0.9535 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.222e-05/0.7544, allocations: 58.67 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.7544, allocations: 90.48 kB / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.7545, allocations: 0 / 0.9537 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.7545, allocations: 3.984 kB / 0.9537 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.7545, allocations: 5.531 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.7545, allocations: 1.406 kB / 0.9537 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.7546, allocations: 77.97 kB / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7546, allocations: 0 / 0.9538 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001958/0.7548, allocations: 15.88 kB / 0.9538 GB, free: 4.855 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 (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.0001426/0.7549, allocations: 116.7 kB / 0.9539 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.544e-05/0.755, allocations: 14.72 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.755, allocations: 0 / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.755, allocations: 4.719 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.7552, allocations: 13.39 kB / 0.9539 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.7555, allocations: 142.2 kB / 0.9541 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/0.7556, allocations: 0.6764 MB / 0.9547 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.7556, allocations: 9.938 kB / 0.9547 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7556, allocations: 0 / 0.9547 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.001807/0.7574, allocations: 0.5977 MB / 0.9553 GB, free: 3.582 MB / 0.7169 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 -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