Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.00242/0.00242, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002837/0.002837, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.696/2.696, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.679e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003471/0.003498, allocations: 1.881 MB / 0.9528 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004882/0.00838, allocations: 3.323 MB / 0.9561 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.008518, allocations: 3.938 kB / 0.9561 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.008789, allocations: 51.62 kB / 0.9561 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005522/0.009341, allocations: 135.1 kB / 0.9562 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.009486, allocations: 51.92 kB / 0.9563 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.009803, allocations: 195 kB / 0.9565 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.009904, allocations: 21.78 kB / 0.9565 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.01017, allocations: 111.7 kB / 0.9566 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.01034, allocations: 75.78 kB / 0.9567 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.01037, allocations: 8 kB / 0.9567 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.01048, allocations: 35.88 kB / 0.9567 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.01055, allocations: 39.78 kB / 0.9568 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.01063, allocations: 55.77 kB / 0.9568 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.01091, allocations: 175.4 kB / 0.957 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01091, allocations: 0 / 0.957 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01091, allocations: 0 / 0.957 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.01092, allocations: 0 / 0.957 GB, free: 5.422 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009305/0.01185, allocations: 457 kB / 0.9574 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.01189, allocations: 12.03 kB / 0.9574 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.01226, allocations: 56.75 kB / 0.9575 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.0127, allocations: 204.7 kB / 0.9577 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.01272, allocations: 4.375 kB / 0.9577 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.01274, allocations: 4.375 kB / 0.9577 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.01313, allocations: 142.1 kB / 0.9578 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.01314, allocations: 4.188 kB / 0.9578 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.01315, allocations: 4.125 kB / 0.9578 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.01319, allocations: 15.98 kB / 0.9578 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.01367, allocations: 139.9 kB / 0.958 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006967/0.01436, allocations: 380.1 kB / 0.9583 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.01484, allocations: 166.4 kB / 0.9585 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.01514, allocations: 104.8 kB / 0.9586 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.01515, allocations: 0 / 0.9586 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.01518, allocations: 34.5 kB / 0.9586 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.01518, allocations: 0 / 0.9586 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0009633/0.01615, allocations: 296.2 kB / 0.9589 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.01619, allocations: 55.41 kB / 0.959 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.01644, allocations: 225.9 kB / 0.9592 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.01648, allocations: 25.7 kB / 0.9592 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.01657, allocations: 120.1 kB / 0.9593 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.01663, allocations: 51.53 kB / 0.9594 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.01669, allocations: 29.7 kB / 0.9594 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01687, allocations: 330.8 kB / 0.9597 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.01713, allocations: 79.94 kB / 0.9598 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.01737, allocations: 76.19 kB / 0.9599 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.01789, allocations: 168.7 kB / 0.96 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01789, allocations: 4 kB / 0.96 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006056/0.0185, allocations: 209.4 kB / 0.9602 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01852, allocations: 6.812 kB / 0.9602 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01852, allocations: 4 kB / 0.9602 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01854, allocations: 7.922 kB / 0.9602 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.01881, allocations: 35.97 kB / 0.9603 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.01881, allocations: 3.938 kB / 0.9603 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.01901, allocations: 27.86 kB / 0.9603 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.01903, allocations: 4 kB / 0.9603 GB, free: 1.844 MB / 0.8575 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 (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 prepare postOptimizeDAE: time 0.0001292/0.01916, allocations: 125.8 kB / 0.9604 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.01921, allocations: 23.8 kB / 0.9604 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.01927, allocations: 29.78 kB / 0.9605 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01928, allocations: 3.984 kB / 0.9605 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01928, allocations: 4 kB / 0.9605 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01929, allocations: 0 / 0.9605 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.01958, allocations: 197.2 kB / 0.9607 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01958, allocations: 0 / 0.9607 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.01981, allocations: 35.91 kB / 0.9607 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01982, allocations: 0 / 0.9607 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.01984, allocations: 7.984 kB / 0.9607 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01984, allocations: 3.938 kB / 0.9607 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01984, allocations: 0 / 0.9607 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.02051, allocations: 318.8 kB / 0.961 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.0206, allocations: 43.77 kB / 0.9611 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.02063, allocations: 0 / 0.9611 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.02084, allocations: 15.98 kB / 0.9611 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.0209, allocations: 7.984 kB / 0.9611 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.02092, allocations: 11.98 kB / 0.9611 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001576/0.02108, allocations: 165.2 kB / 0.9613 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02108, allocations: 0 / 0.9613 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002847/0.02136, allocations: 39.94 kB / 0.9613 GB, free: 0.7812 MB / 0.8575 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.0001944/0.02156, allocations: 111.1 kB / 0.9614 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.02213, allocations: 171.9 kB / 0.9616 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02214, allocations: 0 / 0.9616 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.02242, allocations: 91.86 kB / 0.9617 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.02278, allocations: 24.48 kB / 0.9617 GB, free: 388 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.02366, allocations: 406.2 kB / 0.9621 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.02379, allocations: 120.1 kB / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.02396, allocations: 61.02 kB / 0.9622 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.02403, allocations: 24.44 kB / 0.9623 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.02403, allocations: 0 / 0.9623 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.005467/0.0295, allocations: 1.873 MB / 0.9641 GB, free: 13.9 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 7.952681742608547]