Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001045/0.001045, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001193/0.001193, allocations: 165.3 kB / 24.87 MB, free: 9.277 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 0.9649/0.9649, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.871/1.871, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.151e-05, allocations: 7.5 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002557/0.002579, allocations: 2.087 MB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003839/0.006417, allocations: 4.133 MB / 0.8188 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.006532, allocations: 7.938 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.007242, allocations: 193.6 kB / 0.819 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.007351, allocations: 73.88 kB / 0.8191 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.007928, allocations: 306.1 kB / 0.8194 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.008429, allocations: 400.4 kB / 0.8198 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.008526, allocations: 32.56 kB / 0.8198 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.008704, allocations: 153.8 kB / 0.82 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.008821, allocations: 103.7 kB / 0.8201 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.008846, allocations: 16 kB / 0.8201 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.009255, allocations: 315.4 kB / 0.8204 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.00935, allocations: 110.4 kB / 0.8205 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.524e-05/0.009426, allocations: 87.77 kB / 0.8206 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.009915, allocations: 0.4983 MB / 0.821 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.009918, allocations: 0 / 0.821 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.91e-07/0.009919, allocations: 0 / 0.821 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.009924, allocations: 0 / 0.821 GB, free: 8.953 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007726/0.0107, allocations: 0.7742 MB / 0.8218 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.01073, allocations: 8.531 kB / 0.8218 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.01097, allocations: 82.56 kB / 0.8219 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.01121, allocations: 250.8 kB / 0.8221 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.01122, allocations: 5.438 kB / 0.8221 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.01124, allocations: 12.36 kB / 0.8221 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.01145, allocations: 131.4 kB / 0.8223 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01146, allocations: 0.7188 kB / 0.8223 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.01147, allocations: 7.812 kB / 0.8223 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.01148, allocations: 3.938 kB / 0.8223 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.01156, allocations: 38.2 kB / 0.8223 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000494/0.01205, allocations: 439.9 kB / 0.8227 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.01213, allocations: 43.05 kB / 0.8228 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.01217, allocations: 33.27 kB / 0.8228 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.01222, allocations: 15.98 kB / 0.8228 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01224, allocations: 45.33 kB / 0.8229 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.01224, allocations: 0 / 0.8229 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002579/0.0125, allocations: 130.8 kB / 0.823 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.01252, allocations: 59.39 kB / 0.8231 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.01276, allocations: 423.6 kB / 0.8235 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01278, allocations: 29.7 kB / 0.8235 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.01288, allocations: 247.7 kB / 0.8237 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.01291, allocations: 35.69 kB / 0.8238 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.01297, allocations: 55.28 kB / 0.8238 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.0131, allocations: 0.5245 MB / 0.8243 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.01317, allocations: 65.61 kB / 0.8244 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.01323, allocations: 57.62 kB / 0.8244 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01334, allocations: 107.8 kB / 0.8245 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01334, allocations: 0.5938 kB / 0.8245 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002189/0.01356, allocations: 223.9 kB / 0.8248 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.01359, allocations: 44.34 kB / 0.8248 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.0136, allocations: 4.875 kB / 0.8248 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.01361, allocations: 7.984 kB / 0.8248 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.01374, allocations: 37.78 kB / 0.8248 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.01374, allocations: 0 / 0.8248 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.01383, allocations: 27.88 kB / 0.8249 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01384, allocations: 7.984 kB / 0.8249 GB, free: 4.809 MB / 0.7761 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 (12): * Single equations (assignments): 11 * 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.251e-05/0.01392, allocations: 165.9 kB / 0.825 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.01397, allocations: 35.77 kB / 0.8251 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.01416, allocations: 131.6 kB / 0.8252 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01416, allocations: 4 kB / 0.8252 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01417, allocations: 0 / 0.8252 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01417, allocations: 7.922 kB / 0.8252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.01435, allocations: 201 kB / 0.8254 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01435, allocations: 7.938 kB / 0.8254 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.01446, allocations: 41.55 kB / 0.8254 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01446, allocations: 3.938 kB / 0.8255 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01447, allocations: 0 / 0.8255 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.01447, allocations: 4 kB / 0.8255 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01447, allocations: 0 / 0.8255 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01466, allocations: 264.4 kB / 0.8257 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.01472, allocations: 55.66 kB / 0.8258 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01474, allocations: 3.938 kB / 0.8258 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.01484, allocations: 19.98 kB / 0.8258 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.01488, allocations: 15.97 kB / 0.8258 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.01489, allocations: 0 / 0.8258 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001302/0.01502, allocations: 271 kB / 0.8261 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01502, allocations: 0 / 0.8261 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003077/0.01533, allocations: 135.7 kB / 0.8262 GB, free: 3.418 MB / 0.7761 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 (11): * Single equations (assignments): 11 * 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.0002391/0.01557, allocations: 183 kB / 0.8264 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01578, allocations: 200.8 kB / 0.8266 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01578, allocations: 0 / 0.8266 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.01584, allocations: 43.81 kB / 0.8266 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01614, allocations: 77.52 kB / 0.8267 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.01693, allocations: 0.5509 MB / 0.8272 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.01698, allocations: 103.9 kB / 0.8273 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.571e-05/0.01708, allocations: 25.95 kB / 0.8273 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.01723, allocations: 130.1 kB / 0.8275 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01723, allocations: 0 / 0.8275 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of Templates: time 0.007251/0.02448, allocations: 5.713 MB / 0.833 GB, free: 12.41 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.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.168985364958644]