Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002334/0.002334, allocations: 212.4 kB / 22.99 MB, free: 4.98 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 68.67 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4979, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004988/0.5029, allocations: 1.858 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007334/0.5102, allocations: 3.46 MB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.5104, allocations: 7.875 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.5116, allocations: 175.2 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.5119, allocations: 83.45 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.5121, allocations: 55.92 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.5128, allocations: 271.1 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.513, allocations: 33.7 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.5131, allocations: 79.69 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.5133, allocations: 79.62 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.5134, allocations: 8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.5135, allocations: 35.92 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.5136, allocations: 51.81 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.5138, allocations: 75.55 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.5142, allocations: 203 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5142, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5142, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5142, allocations: 0 / 1.333 GB, free: 10.5 MB / 1.029 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.001304/0.5155, allocations: 484.6 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5156, allocations: 8.031 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.5162, allocations: 56.75 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.5168, allocations: 202.7 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.5168, allocations: 12.36 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.5169, allocations: 384 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.5174, allocations: 145.6 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5174, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.5175, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.76e-05/0.5175, allocations: 15.98 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.5181, allocations: 143.9 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.5189, allocations: 380.2 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.5193, allocations: 162.4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.5196, allocations: 100.8 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.5196, allocations: 3.984 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.5196, allocations: 38.56 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.5196, allocations: 0 / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008806/0.5205, allocations: 296.5 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.5206, allocations: 59.34 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.5208, allocations: 256.2 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.5209, allocations: 29.7 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.521, allocations: 132.1 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.521, allocations: 51.64 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.5211, allocations: 29.64 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5213, allocations: 342.8 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.5215, allocations: 75.88 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.5217, allocations: 75.92 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.5222, allocations: 160.8 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5222, allocations: 4 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005408/0.5227, allocations: 232.2 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5227, allocations: 8 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5228, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5228, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.523, allocations: 35.95 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.523, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.5232, allocations: 15.92 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.5232, allocations: 12 kB / 1.337 GB, free: 6.832 MB / 1.029 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.0001511/0.5234, allocations: 146.3 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.5234, allocations: 19.86 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.5235, allocations: 33.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.5235, allocations: 4 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5235, allocations: 0 / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5235, allocations: 3.938 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.5238, allocations: 205.1 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5238, allocations: 0 / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.524, allocations: 35.95 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.524, allocations: 0 / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.5241, allocations: 4 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.5241, allocations: 0 / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5241, allocations: 0 / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.5247, allocations: 327.2 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.5248, allocations: 43.67 kB / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5248, allocations: 0 / 1.338 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.525, allocations: 23.97 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.5251, allocations: 7.984 kB / 1.338 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.5251, allocations: 4 kB / 1.338 GB, free: 5.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000192/0.5253, allocations: 191.1 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.5253, allocations: 0 / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003043/0.5256, allocations: 40 kB / 1.338 GB, free: 5.707 MB / 1.029 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.0001824/0.5258, allocations: 103.2 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.5263, allocations: 175.7 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5263, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.5266, allocations: 91.86 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.527, allocations: 64.45 kB / 1.338 GB, free: 5.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.528, allocations: 481.1 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.5282, allocations: 136.1 kB / 1.339 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.5284, allocations: 49.38 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.5284, allocations: 23.42 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.5284, allocations: 0 / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of Templates: time 0.00707/0.5355, allocations: 2.953 MB / 1.342 GB, free: 1.68 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.848751144993003]