Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0008559/0.0008559, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008457/0.0008457, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8859/0.8859, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.644/1.644, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.325e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001999/0.002022, allocations: 1.869 MB / 0.9536 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.004635, allocations: 3.319 MB / 0.9568 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.004718, allocations: 0 / 0.9568 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.004917, allocations: 51.62 kB / 0.9569 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.005267, allocations: 135.1 kB / 0.957 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 7.862e-05/0.005346, allocations: 55.86 kB / 0.957 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.005533, allocations: 187.1 kB / 0.9572 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.005624, allocations: 13.81 kB / 0.9572 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.005781, allocations: 115.7 kB / 0.9573 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.00589, allocations: 63.8 kB / 0.9574 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.00591, allocations: 8 kB / 0.9574 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.005976, allocations: 39.8 kB / 0.9574 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.006029, allocations: 39.83 kB / 0.9575 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.006074, allocations: 43.86 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.006264, allocations: 183.3 kB / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.006266, allocations: 0 / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.41e-07/0.006267, allocations: 0 / 0.9577 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.006272, allocations: 3.938 kB / 0.9577 GB, free: 12.86 MB / 0.9167 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.0006874/0.006959, allocations: 449 kB / 0.9581 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.006991, allocations: 12.03 kB / 0.9581 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.007177, allocations: 56.75 kB / 0.9582 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.007426, allocations: 196.8 kB / 0.9584 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.007437, allocations: 12.36 kB / 0.9584 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.007449, allocations: 384 / 0.9584 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.007668, allocations: 130.2 kB / 0.9585 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.007674, allocations: 8.188 kB / 0.9585 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.007687, allocations: 4.125 kB / 0.9585 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.007707, allocations: 11.98 kB / 0.9585 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.007932, allocations: 135.8 kB / 0.9587 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.008329, allocations: 360.3 kB / 0.959 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.008548, allocations: 158.4 kB / 0.9592 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.008685, allocations: 96.78 kB / 0.9593 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.0087, allocations: 7.938 kB / 0.9593 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.008718, allocations: 30.56 kB / 0.9593 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.008718, allocations: 4 kB / 0.9593 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.000455/0.009173, allocations: 281.6 kB / 0.9596 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.009202, allocations: 55.41 kB / 0.9596 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.009335, allocations: 213.8 kB / 0.9598 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.009349, allocations: 29.7 kB / 0.9599 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.009402, allocations: 128 kB / 0.96 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.009434, allocations: 39.66 kB / 0.96 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.009475, allocations: 29.7 kB / 0.96 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.009559, allocations: 334.8 kB / 0.9604 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.009673, allocations: 67.94 kB / 0.9604 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.009781, allocations: 83.88 kB / 0.9605 GB, free: 9.824 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01, allocations: 160 kB / 0.9607 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01001, allocations: 0 / 0.9607 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.01028, allocations: 213.4 kB / 0.9609 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.01029, allocations: 10.64 kB / 0.9609 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01029, allocations: 0 / 0.9609 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.0103, allocations: 0 / 0.9609 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.01042, allocations: 35.91 kB / 0.9609 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01043, allocations: 4 kB / 0.9609 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.01049, allocations: 23.88 kB / 0.9609 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.0105, allocations: 3.984 kB / 0.9609 GB, free: 9.379 MB / 0.9167 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 7.146e-05/0.01057, allocations: 129.8 kB / 0.9611 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.0106, allocations: 23.78 kB / 0.9611 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.01063, allocations: 25.77 kB / 0.9611 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01063, allocations: 4 kB / 0.9611 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01063, allocations: 0 / 0.9611 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01064, allocations: 3.984 kB / 0.9611 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01078, allocations: 185.2 kB / 0.9613 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.01078, allocations: 0 / 0.9613 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.01087, allocations: 47.84 kB / 0.9613 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01087, allocations: 3.984 kB / 0.9613 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.01088, allocations: 4 kB / 0.9613 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01088, allocations: 0 / 0.9613 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01088, allocations: 0 / 0.9613 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01118, allocations: 307.3 kB / 0.9616 GB, free: 8.602 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.01123, allocations: 47.7 kB / 0.9617 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.01124, allocations: 0 / 0.9617 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.01132, allocations: 15.98 kB / 0.9617 GB, free: 8.539 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01137, allocations: 7.984 kB / 0.9617 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.01137, allocations: 7.984 kB / 0.9617 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.75e-05/0.01147, allocations: 157.2 kB / 0.9619 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01147, allocations: 3.938 kB / 0.9619 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001796/0.01165, allocations: 39.98 kB / 0.9619 GB, free: 8.328 MB / 0.9167 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.0001245/0.01178, allocations: 115.1 kB / 0.962 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.01206, allocations: 162.9 kB / 0.9622 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01206, allocations: 0 / 0.9622 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.01219, allocations: 87.88 kB / 0.9623 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.01245, allocations: 30.72 kB / 0.9623 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.01302, allocations: 428.5 kB / 0.9627 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.0131, allocations: 120.1 kB / 0.9628 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.01316, allocations: 32.42 kB / 0.9628 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.01316, allocations: 0 / 0.9628 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of Templates: time 0.003384/0.01654, allocations: 2.402 MB / 0.9652 GB, free: 4.926 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 6.81131889577955]