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.001106/0.001106, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002597, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001095/0.001095, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002541, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8997/0.8997, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08553/0.9852, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.765/1.765, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4744/2.239, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|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.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.601e-05, allocations: 3.188 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002582/0.002598, allocations: 1.981 MB / 0.7313 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.01542, allocations: 3.763 MB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.01552, allocations: 7.938 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006138/0.01614, allocations: 181.2 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.0163, allocations: 73.17 kB / 0.7352 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.01642, allocations: 64.44 kB / 0.7352 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.01686, allocations: 281.6 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.01694, allocations: 14.47 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.01711, allocations: 137 kB / 0.7357 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.01723, allocations: 65.05 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.01725, allocations: 8 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.01735, allocations: 35.86 kB / 0.7358 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.0174, allocations: 43.86 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.01746, allocations: 52.84 kB / 0.7359 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.02368, allocations: 143.4 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.02369, allocations: 0.5625 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.02e-07/0.02369, allocations: 1.75 kB / 0.736 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.02371, allocations: 0 / 0.736 GB, free: 13.74 MB / 0.7136 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.0005888/0.02429, allocations: 471.1 kB / 0.7364 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.02432, allocations: 8.031 kB / 0.7365 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.02457, allocations: 127.2 kB / 0.7366 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.02477, allocations: 195.3 kB / 0.7368 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.02478, allocations: 8.375 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.02479, allocations: 8.359 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.02497, allocations: 99.02 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.02498, allocations: 4.172 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.02499, allocations: 4.781 kB / 0.7369 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.02502, allocations: 8 kB / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.02509, allocations: 27.64 kB / 0.7369 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.02543, allocations: 246.7 kB / 0.7371 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.02552, allocations: 71.78 kB / 0.7372 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.784e-05/0.02558, allocations: 36.83 kB / 0.7373 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.02559, allocations: 12.48 kB / 0.7373 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.02562, allocations: 38.48 kB / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.02562, allocations: 1.156 kB / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001775/0.0258, allocations: 97.91 kB / 0.7374 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.02582, allocations: 56.38 kB / 0.7374 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.02593, allocations: 231 kB / 0.7377 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.02595, allocations: 25.7 kB / 0.7377 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.02599, allocations: 117.7 kB / 0.7378 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.02602, allocations: 39.66 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.02606, allocations: 36.44 kB / 0.7379 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.02613, allocations: 338.8 kB / 0.7382 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.02615, allocations: 15.92 kB / 0.7382 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.02618, allocations: 14.62 kB / 0.7382 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.02624, allocations: 51.62 kB / 0.7383 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.02624, allocations: 0 / 0.7383 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.136e-05/0.02633, allocations: 88.25 kB / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.02634, allocations: 4 kB / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.02635, allocations: 0 / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-06/0.02635, allocations: 0 / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.0295, allocations: 35.91 kB / 0.7384 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.0295, allocations: 4 kB / 0.7384 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.02958, allocations: 20.41 kB / 0.7384 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.02959, allocations: 4 kB / 0.7384 GB, free: 11.09 MB / 0.7136 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 6.887e-05/0.02966, allocations: 118.9 kB / 0.7385 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.02969, allocations: 19.92 kB / 0.7386 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.02974, allocations: 29.8 kB / 0.7386 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.02974, allocations: 4 kB / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02974, allocations: 0 / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.02974, allocations: 2.438 kB / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.02991, allocations: 121.8 kB / 0.7387 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02991, allocations: 4 kB / 0.7387 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.03002, allocations: 35.91 kB / 0.7388 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.03007, allocations: 31.78 kB / 0.7388 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.03007, allocations: 7.938 kB / 0.7388 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.03008, allocations: 2.031 kB / 0.7388 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.03008, allocations: 0 / 0.7388 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03008, allocations: 0 / 0.7388 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.03024, allocations: 187 kB / 0.739 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.03026, allocations: 0 / 0.739 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.03036, allocations: 12.95 kB / 0.739 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.0304, allocations: 15.92 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.03041, allocations: 8.922 kB / 0.739 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.03047, allocations: 76.66 kB / 0.7391 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03047, allocations: 6.469 kB / 0.7391 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002111/0.03068, allocations: 43.95 kB / 0.7391 GB, free: 10.34 MB / 0.7136 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.0001022/0.03079, allocations: 96.33 kB / 0.7392 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.03091, allocations: 52.83 kB / 0.7393 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.03091, allocations: 7.938 kB / 0.7393 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.03097, allocations: 35.28 kB / 0.7393 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.03126, allocations: 78.06 kB / 0.7394 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.03791, allocations: 412.6 kB / 0.7398 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.03797, allocations: 92.39 kB / 0.7399 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.03807, allocations: 30.52 kB / 0.7399 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.03821, allocations: 88.09 kB / 0.74 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.03821, allocations: 0 / 0.74 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.006864/0.04507, allocations: 2.889 MB / 0.7428 GB, free: 6.703 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.ref.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: 4.605228755623102]