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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001466/0.001466, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001933/0.001933, allocations: 198.2 kB / 16.14 MB, free: 6.641 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.611, allocations: 140.3 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001837/0.6129, allocations: 1.339 MB / 0.9502 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002459/0.6131, allocations: 125.9 kB / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.6131, allocations: 0 / 0.9503 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.6132, allocations: 3.938 kB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.6132, allocations: 1.375 kB / 0.9503 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.6134, allocations: 27.59 kB / 0.9504 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.6e-05/0.6134, allocations: 14.03 kB / 0.9504 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.6135, allocations: 10.19 kB / 0.9504 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.6135, allocations: 6.094 kB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.6135, allocations: 3.375 kB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6136, allocations: 1.312 kB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.6137, allocations: 51.12 kB / 0.9505 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.6137, allocations: 1.469 kB / 0.9505 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.6137, allocations: 6.594 kB / 0.9505 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.853e-05/0.6138, allocations: 49.28 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6138, allocations: 1.125 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6138, allocations: 0 / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.6138, allocations: 0 / 0.9505 GB, free: 7.969 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.0002485/0.6141, allocations: 327.2 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.6141, allocations: 9.688 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.6141, allocations: 2.219 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.6142, allocations: 173.7 kB / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.6142, allocations: 384 / 0.951 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.6142, allocations: 5.938 kB / 0.951 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.274e-05/0.6143, allocations: 36.67 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.6143, allocations: 0 / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.6143, allocations: 1.125 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.6143, allocations: 0 / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.6144, allocations: 7.859 kB / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.11e-05/0.6145, allocations: 152.7 kB / 0.9512 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.097e-05/0.6145, allocations: 32.03 kB / 0.9512 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.6145, allocations: 11.45 kB / 0.9512 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.6151, allocations: 0.6007 MB / 0.9518 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.6151, allocations: 34.5 kB / 0.9519 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.6151, allocations: 1.25 kB / 0.9519 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001115/0.6152, allocations: 42.53 kB / 0.9519 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.6152, allocations: 56.84 kB / 0.952 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.039e-05/0.6153, allocations: 101.9 kB / 0.952 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.6153, allocations: 25.7 kB / 0.9521 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.189e-05/0.6153, allocations: 81.52 kB / 0.9522 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.6153, allocations: 5.188 kB / 0.9522 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.6153, allocations: 11 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.321e-05/0.6154, allocations: 316 kB / 0.9525 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.6154, allocations: 6.375 kB / 0.9525 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.6154, allocations: 6.625 kB / 0.9525 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.6154, allocations: 17.06 kB / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6154, allocations: 1.469 kB / 0.9525 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.035e-05/0.6155, allocations: 45.64 kB / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.6155, allocations: 5.656 kB / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.6155, allocations: 0 / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-06/0.6155, allocations: 0 / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.6156, allocations: 4.312 kB / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.6156, allocations: 0 / 0.9525 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.6156, allocations: 4.094 kB / 0.9526 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6156, allocations: 5.625 kB / 0.9526 GB, free: 5.66 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 3.543e-05/0.6157, allocations: 119.3 kB / 0.9527 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.6157, allocations: 3.938 kB / 0.9527 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/0.6158, allocations: 45.78 kB / 0.9527 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6158, allocations: 1.062 kB / 0.9527 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.6158, allocations: 0 / 0.9527 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6158, allocations: 0.875 kB / 0.9527 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.956e-05/0.6158, allocations: 148.9 kB / 0.9529 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6158, allocations: 0 / 0.9529 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.6159, allocations: 11.3 kB / 0.9529 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.6159, allocations: 0 / 0.9529 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.6159, allocations: 1.062 kB / 0.9529 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6159, allocations: 0.9062 kB / 0.9529 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6159, allocations: 0 / 0.9529 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.606e-05/0.6159, allocations: 74.64 kB / 0.9529 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.616, allocations: 86.11 kB / 0.953 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.616, allocations: 1.406 kB / 0.953 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.616, allocations: 3.938 kB / 0.953 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.616, allocations: 1.469 kB / 0.953 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.616, allocations: 0 / 0.953 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.616, allocations: 77.88 kB / 0.9531 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6161, allocations: 1.281 kB / 0.9531 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00019/0.6162, allocations: 19.61 kB / 0.9531 GB, free: 5.02 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.0001193/0.6164, allocations: 112.2 kB / 0.9532 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/0.6164, allocations: 14.94 kB / 0.9533 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6164, allocations: 0 / 0.9533 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.6165, allocations: 8.391 kB / 0.9533 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.6167, allocations: 8 kB / 0.9533 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.6169, allocations: 112.4 kB / 0.9534 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.6169, allocations: 0.6763 MB / 0.954 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.617, allocations: 6.953 kB / 0.954 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.617, allocations: 9.656 kB / 0.9541 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.617, allocations: 0 / 0.9541 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.00223/0.6192, allocations: 0.5786 MB / 0.9546 GB, free: 3.781 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/jenkins/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