Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0009879/0.0009879, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001206/0.001206, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9674/0.9674, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.824/1.824, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.224e-05, allocations: 3.656 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00297/0.002992, allocations: 2.202 MB / 0.7622 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004144/0.007137, allocations: 4.235 MB / 0.7663 GB, free: 252 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.007275, allocations: 3.938 kB / 0.7663 GB, free: 248 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.008034, allocations: 181.7 kB / 0.7665 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.008217, allocations: 81.19 kB / 0.7666 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.008923, allocations: 348.1 kB / 0.7669 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.009467, allocations: 462.5 kB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00957, allocations: 38.81 kB / 0.7674 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.00977, allocations: 188.9 kB / 0.7675 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.01017, allocations: 132.5 kB / 0.7677 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.01021, allocations: 20 kB / 0.7677 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.01063, allocations: 328.4 kB / 0.768 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.01072, allocations: 119.6 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.01081, allocations: 107.7 kB / 0.7682 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.01131, allocations: 0.5455 MB / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01131, allocations: 3.438 kB / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.12e-07/0.01131, allocations: 0 / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.01132, allocations: 4 kB / 0.7688 GB, free: 13.73 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007221/0.01204, allocations: 0.6715 MB / 0.7694 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.01207, allocations: 12.03 kB / 0.7694 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.01253, allocations: 133.3 kB / 0.7696 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.01278, allocations: 260.7 kB / 0.7698 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.0128, allocations: 12.55 kB / 0.7698 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.01282, allocations: 16.19 kB / 0.7698 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.01307, allocations: 163.4 kB / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.01308, allocations: 0 / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.01309, allocations: 0 / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.01309, allocations: 4 kB / 0.77 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/0.01319, allocations: 55.03 kB / 0.77 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.01375, allocations: 352.9 kB / 0.7704 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.01386, allocations: 101.2 kB / 0.7705 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.01392, allocations: 37.03 kB / 0.7705 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.099e-05/0.01396, allocations: 23.92 kB / 0.7705 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.01398, allocations: 42.16 kB / 0.7706 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.01398, allocations: 0 / 0.7706 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002481/0.01423, allocations: 136.4 kB / 0.7707 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.01425, allocations: 51.41 kB / 0.7708 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.01446, allocations: 367.2 kB / 0.7711 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.01449, allocations: 29.7 kB / 0.7711 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.01455, allocations: 153.3 kB / 0.7713 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.01458, allocations: 39.64 kB / 0.7713 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.01465, allocations: 54.83 kB / 0.7714 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.01474, allocations: 350.7 kB / 0.7717 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.01483, allocations: 80.75 kB / 0.7718 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.01489, allocations: 84.92 kB / 0.7719 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.01504, allocations: 150.7 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01504, allocations: 0 / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000223/0.01526, allocations: 238.7 kB / 0.7722 GB, free: 10 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.0153, allocations: 45.69 kB / 0.7723 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.0153, allocations: 1.156 kB / 0.7723 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.01531, allocations: 0 / 0.7723 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.01548, allocations: 52.88 kB / 0.7723 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01549, allocations: 4 kB / 0.7723 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.0156, allocations: 40.98 kB / 0.7724 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.01561, allocations: 11.98 kB / 0.7724 GB, free: 9.848 MB / 0.7292 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.475e-05/0.0157, allocations: 118.2 kB / 0.7725 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.01574, allocations: 27.89 kB / 0.7725 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.01596, allocations: 154.3 kB / 0.7727 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.01596, allocations: 5.188 kB / 0.7727 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01597, allocations: 0 / 0.7727 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01597, allocations: 0 / 0.7727 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01615, allocations: 167 kB / 0.7728 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01615, allocations: 0 / 0.7728 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.01628, allocations: 48.88 kB / 0.7729 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01628, allocations: 0 / 0.7729 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01629, allocations: 4.844 kB / 0.7729 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01629, allocations: 3.938 kB / 0.7729 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0163, allocations: 0 / 0.7729 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.0165, allocations: 266.6 kB / 0.7731 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.01657, allocations: 47.64 kB / 0.7732 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.0166, allocations: 7.938 kB / 0.7732 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01671, allocations: 23.97 kB / 0.7732 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.01676, allocations: 19.97 kB / 0.7732 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.01677, allocations: 3.984 kB / 0.7732 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001065/0.01688, allocations: 156.7 kB / 0.7734 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01688, allocations: 0 / 0.7734 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003244/0.01721, allocations: 131.8 kB / 0.7735 GB, free: 8.641 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.0002579/0.01746, allocations: 174.9 kB / 0.7737 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01771, allocations: 238.4 kB / 0.7739 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.01772, allocations: 4 kB / 0.7739 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.01778, allocations: 51.52 kB / 0.774 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.01805, allocations: 73.09 kB / 0.774 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.01923, allocations: 0.6057 MB / 0.7746 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.294e-05/0.01929, allocations: 112.2 kB / 0.7747 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.01942, allocations: 36 kB / 0.7748 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.01959, allocations: 105 kB / 0.7749 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of SimCode: time 1.172e-06/0.01959, allocations: 0 / 0.7749 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of Templates: time 0.007908/0.0275, allocations: 5.931 MB / 0.7807 GB, free: 1.469 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.01510047679767]