Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002719/0.002719, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.816e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002649/0.002678, allocations: 1.288 MB / 0.8788 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.002961, allocations: 94.92 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.002991, allocations: 4 kB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.003009, allocations: 0 / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.003076, allocations: 4.125 kB / 0.8789 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.003278, allocations: 34.45 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.003337, allocations: 19.92 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.003372, allocations: 0 / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.51e-05/0.003408, allocations: 7.984 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.003456, allocations: 4 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.003469, allocations: 1.344 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.00361, allocations: 39.89 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.003624, allocations: 4 kB / 0.879 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.003648, allocations: 4.781 kB / 0.879 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.003781, allocations: 43.86 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003783, allocations: 0.6562 kB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003784, allocations: 0 / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003788, allocations: 3.688 kB / 0.8791 GB, free: 4.965 MB / 0.8386 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.0004193/0.004207, allocations: 254.3 kB / 0.8793 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.004246, allocations: 12.03 kB / 0.8793 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.004644, allocations: 24.89 kB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.004778, allocations: 105.7 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.004792, allocations: 384 / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.004805, allocations: 4.375 kB / 0.8795 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.004961, allocations: 48.33 kB / 0.8795 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.004972, allocations: 3.938 kB / 0.8795 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004983, allocations: 3.938 kB / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004987, allocations: 0 / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.005124, allocations: 23.97 kB / 0.8796 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.005321, allocations: 106.3 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.005505, allocations: 47.64 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.00558, allocations: 16.91 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005598, allocations: 1.031 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.005636, allocations: 34.56 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.005637, allocations: 0 / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003237/0.005961, allocations: 71.84 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.00601, allocations: 55.41 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.006115, allocations: 105.8 kB / 0.88 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.006143, allocations: 25.7 kB / 0.88 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.006195, allocations: 82.39 kB / 0.8801 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.006227, allocations: 7.891 kB / 0.8801 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.006278, allocations: 17.72 kB / 0.8801 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.006471, allocations: 310.8 kB / 0.8804 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.006547, allocations: 15.98 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.006844, allocations: 12.7 kB / 0.8804 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.006975, allocations: 30.5 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006977, allocations: 0 / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.007166, allocations: 59.52 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.007184, allocations: 8 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007189, allocations: 3.938 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.007214, allocations: 3.938 kB / 0.8805 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.007342, allocations: 5.594 kB / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007348, allocations: 0 / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.007428, allocations: 7.984 kB / 0.8805 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007436, allocations: 0 / 0.8805 GB, free: 3.328 MB / 0.8386 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 0.0001049/0.007541, allocations: 114.1 kB / 0.8806 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.007558, allocations: 0 / 0.8806 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.007589, allocations: 3.312 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.007593, allocations: 3.938 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.007597, allocations: 0 / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.007603, allocations: 3.984 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.007732, allocations: 109.3 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.007736, allocations: 4 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.007826, allocations: 7.984 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007829, allocations: 0 / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.007838, allocations: 4 kB / 0.8808 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.007843, allocations: 4 kB / 0.8808 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.007846, allocations: 3.938 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.008073, allocations: 85.23 kB / 0.8809 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.008091, allocations: 11.94 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.008108, allocations: 0 / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.008182, allocations: 4 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.008203, allocations: 3.938 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.008212, allocations: 3.984 kB / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.008281, allocations: 87.31 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008281, allocations: 0 / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000198/0.008479, allocations: 8 kB / 0.881 GB, free: 2.816 MB / 0.8386 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.0001291/0.008608, allocations: 91.25 kB / 0.8811 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.00879, allocations: 27.97 kB / 0.8811 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.008792, allocations: 0 / 0.8811 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.00886, allocations: 19.92 kB / 0.8811 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.009127, allocations: 12.12 kB / 0.8811 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.009631, allocations: 128.8 kB / 0.8812 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.009698, allocations: 63.2 kB / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.797e-05/0.009766, allocations: 4 kB / 0.8813 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.009818, allocations: 12.5 kB / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/0.009819, allocations: 0 / 0.8813 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.003359/0.01318, allocations: 0.759 MB / 0.8821 GB, free: 1.668 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.10041588707827]