Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002442/0.002442, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002783/0.002783, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.956e-05, allocations: 8.781 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002499/0.002529, allocations: 1.278 MB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.002845, allocations: 116.8 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.002871, allocations: 1.594 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.002885, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.002962, allocations: 11.86 kB / 0.7878 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.003162, allocations: 41.28 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.003218, allocations: 15.88 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.003255, allocations: 3.938 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.003293, allocations: 10.95 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.003343, allocations: 4 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.003356, allocations: 0 / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.0035, allocations: 47.94 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.003515, allocations: 4 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003538, allocations: 7.938 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.003677, allocations: 47.86 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.003679, allocations: 1.25 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00368, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.003683, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.7448 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.0004642/0.004148, allocations: 352.9 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004182, allocations: 13.09 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.004218, allocations: 0.9375 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.004358, allocations: 116.6 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.00437, allocations: 0.9688 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-06/0.004377, allocations: 384 / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.004467, allocations: 32.25 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.004477, allocations: 3.938 kB / 0.7884 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004489, allocations: 7.984 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.004493, allocations: 1.812 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.004529, allocations: 7.938 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.0047, allocations: 112.6 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.004772, allocations: 35.09 kB / 0.7886 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.004794, allocations: 9.219 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.005298, allocations: 92.14 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.005337, allocations: 37.38 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.005338, allocations: 0.5312 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.00551, allocations: 50.3 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.005555, allocations: 55.88 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.005684, allocations: 157.9 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.005702, allocations: 27.3 kB / 0.789 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.005775, allocations: 130.9 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.005804, allocations: 11.89 kB / 0.7891 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005841, allocations: 19.38 kB / 0.7891 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.006106, allocations: 492.8 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.006118, allocations: 0 / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.006131, allocations: 8.688 kB / 0.7896 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.657e-05/0.006167, allocations: 20.3 kB / 0.7896 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006169, allocations: 0.5 kB / 0.7896 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.137e-05/0.00624, allocations: 42.48 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006253, allocations: 5.719 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.006257, allocations: 1.156 kB / 0.7897 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.006272, allocations: 3.938 kB / 0.7897 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.006329, allocations: 4 kB / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.006334, allocations: 0.625 kB / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.00635, allocations: 0 / 0.7897 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.006358, allocations: 4.719 kB / 0.7897 GB, free: 9.199 MB / 0.7448 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.0001134/0.006471, allocations: 157.4 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.006479, allocations: 0 / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.006594, allocations: 58.73 kB / 0.7899 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.006598, allocations: 3.938 kB / 0.7899 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.006604, allocations: 4 kB / 0.7899 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006606, allocations: 0 / 0.7899 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.006718, allocations: 112.6 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006719, allocations: 0.7812 kB / 0.79 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.006744, allocations: 4 kB / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006745, allocations: 2.375 kB / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.006751, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006752, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.00676, allocations: 7.922 kB / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006867, allocations: 76.39 kB / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006875, allocations: 0 / 0.7901 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.006888, allocations: 5.969 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.006905, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.006928, allocations: 11.86 kB / 0.7901 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006932, allocations: 0 / 0.7901 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.007005, allocations: 123.2 kB / 0.7902 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007005, allocations: 0.5 kB / 0.7902 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002134/0.007219, allocations: 19.94 kB / 0.7903 GB, free: 8.555 MB / 0.7448 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.0001821/0.007401, allocations: 117 kB / 0.7904 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.007486, allocations: 15.69 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007487, allocations: 0.5312 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-05/0.007512, allocations: 16.44 kB / 0.7904 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.007704, allocations: 13.08 kB / 0.7904 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.00798, allocations: 106.3 kB / 0.7905 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.008039, allocations: 56.02 kB / 0.7906 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.008065, allocations: 5.172 kB / 0.7906 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.008085, allocations: 12.06 kB / 0.7906 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.008086, allocations: 0 / 0.7906 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.00347/0.01156, allocations: 0.6681 MB / 0.7912 GB, free: 7.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.077105283970013]