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.001732/0.001732, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.00194/0.00194, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.929/2.929, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.472e-06/1.472e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.881e-05, allocations: 2.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002708/0.002737, allocations: 1.289 MB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.003029, allocations: 91.58 kB / 1.001 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.003061, allocations: 0 / 1.001 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.08e-05/0.003082, allocations: 0 / 1.001 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.003173, allocations: 11.92 kB / 1.001 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003392, allocations: 31.89 kB / 1.002 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.003457, allocations: 15.92 kB / 1.002 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.003498, allocations: 4 kB / 1.002 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.003538, allocations: 4 kB / 1.002 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.003595, allocations: 7.984 kB / 1.002 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.003611, allocations: 0 / 1.002 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.003746, allocations: 43.83 kB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.003761, allocations: 0 / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.003785, allocations: 8 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003911, allocations: 43.88 kB / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.003913, allocations: 0 / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003914, allocations: 0 / 1.002 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.00392, allocations: 3.984 kB / 1.002 GB, free: 5.742 MB / 0.9512 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.0003894/0.004309, allocations: 250.4 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004348, allocations: 8.031 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.004695, allocations: 28.84 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.004831, allocations: 109.8 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.004847, allocations: 384 / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.004858, allocations: 8.312 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.005013, allocations: 46.23 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.005024, allocations: 3.938 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.005038, allocations: 3.984 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005043, allocations: 0 / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.005173, allocations: 27.92 kB / 1.002 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.005354, allocations: 109.2 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.005511, allocations: 42.59 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.005581, allocations: 16.91 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.005599, allocations: 0 / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.005634, allocations: 38.56 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005635, allocations: 0 / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003117/0.005947, allocations: 73.53 kB / 1.002 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.005998, allocations: 51.41 kB / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.006076, allocations: 97.86 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.006105, allocations: 29.83 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.006149, allocations: 80.14 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.006184, allocations: 7.953 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.006228, allocations: 17.7 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.006392, allocations: 314.8 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.006453, allocations: 7.984 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.006509, allocations: 12 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.006643, allocations: 32.83 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006645, allocations: 4.062 kB / 1.003 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001638/0.006808, allocations: 57.62 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.006833, allocations: 4 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.006841, allocations: 0 / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.006872, allocations: 3.938 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.006985, allocations: 11.98 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006989, allocations: 0 / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.007054, allocations: 4 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.007065, allocations: 3.984 kB / 1.003 GB, free: 4.094 MB / 0.9512 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.0001141/0.007179, allocations: 117.9 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.007191, allocations: 3.953 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.007218, allocations: 3.312 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.007224, allocations: 7.875 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.007228, allocations: 0 / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.007231, allocations: 4 kB / 1.003 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.00734, allocations: 105.3 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007341, allocations: 0 / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.007419, allocations: 4 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.00742, allocations: 0 / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.007431, allocations: 8 kB / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007432, allocations: 0 / 1.003 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.007435, allocations: 7.875 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.007637, allocations: 77.11 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.007646, allocations: 4 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.007664, allocations: 3.984 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.007728, allocations: 7.938 kB / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.007748, allocations: 3.938 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.007754, allocations: 0 / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.007803, allocations: 83.31 kB / 1.003 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.007804, allocations: 0 / 1.003 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001879/0.007991, allocations: 8 kB / 1.004 GB, free: 3.59 MB / 0.9512 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.0001262/0.008118, allocations: 99.22 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.008313, allocations: 27.92 kB / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008315, allocations: 0 / 1.004 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.008382, allocations: 19.98 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.00863, allocations: 12.11 kB / 1.004 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.009101, allocations: 132.7 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.009157, allocations: 55.36 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.009215, allocations: 4.328 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.009263, allocations: 8.5 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.009264, allocations: 0 / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of Templates: time 0.003294/0.01256, allocations: 0.7471 MB / 1.005 GB, free: 2.445 MB / 0.9512 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.200566854327917]