Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001461/0.001461, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001693/0.001693, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.051 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 2.945/2.945, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") [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.001918/0.001918, allocations: 72.55 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003129/0.3199, allocations: 1.908 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004441/0.3244, allocations: 3.705 MB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.3245, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.3252, allocations: 175.2 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.3253, allocations: 79.47 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.3255, allocations: 51.92 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.3259, allocations: 263.1 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.883e-05/0.326, allocations: 29.72 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3261, allocations: 79.69 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3263, allocations: 79.56 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3263, allocations: 8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.924e-05/0.3264, allocations: 31.97 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.3265, allocations: 55.81 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.98e-05/0.3266, allocations: 87.41 kB / 1.334 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3268, allocations: 203 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3268, allocations: 3.984 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3268, allocations: 4 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3269, allocations: 0 / 1.334 GB, free: 10.69 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.0008413/0.3277, allocations: 468.8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3277, allocations: 12.03 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3281, allocations: 60.7 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3285, allocations: 197.5 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3285, allocations: 8.359 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3285, allocations: 4.375 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.3288, allocations: 137.7 kB / 1.335 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3288, allocations: 0 / 1.335 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3288, allocations: 4 kB / 1.335 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.3289, allocations: 11.98 kB / 1.335 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.3293, allocations: 135.8 kB / 1.335 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.33, allocations: 423.6 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.3304, allocations: 162.4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3306, allocations: 96.78 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3306, allocations: 3.984 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3306, allocations: 34.56 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3306, allocations: 3.938 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007841/0.3314, allocations: 286.7 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3315, allocations: 59.41 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3317, allocations: 241.9 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3317, allocations: 29.7 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3318, allocations: 140.1 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.3319, allocations: 35.66 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.3319, allocations: 33.69 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3321, allocations: 338.8 kB / 1.337 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3323, allocations: 67.94 kB / 1.337 GB, free: 7.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3325, allocations: 77.17 kB / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.3329, allocations: 159.5 kB / 1.337 GB, free: 7.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3329, allocations: 3.938 kB / 1.337 GB, free: 7.348 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004968/0.3334, allocations: 209.4 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3334, allocations: 13.56 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3334, allocations: 0 / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3334, allocations: 0 / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3337, allocations: 31.97 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3337, allocations: 0 / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.3338, allocations: 23.86 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3338, allocations: 4 kB / 1.337 GB, free: 7.066 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.0001351/0.334, allocations: 150.2 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.334, allocations: 19.86 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.3341, allocations: 29.77 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3341, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3341, allocations: 0 / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3341, allocations: 4 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.3344, allocations: 244.5 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3344, allocations: 0 / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.3346, allocations: 35.95 kB / 1.338 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3346, allocations: 4 kB / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3346, allocations: 4 kB / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3346, allocations: 0 / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3346, allocations: 0 / 1.338 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.3352, allocations: 315.2 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.3352, allocations: 43.77 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3353, allocations: 3.938 kB / 1.338 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3354, allocations: 15.98 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.3355, allocations: 11.92 kB / 1.338 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3355, allocations: 11.98 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001685/0.3357, allocations: 181.2 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002575/0.3359, allocations: 43.94 kB / 1.338 GB, free: 5.898 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.0001498/0.3361, allocations: 103.2 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.3366, allocations: 171.7 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3366, allocations: 4 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.3368, allocations: 83.88 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3372, allocations: 45.25 kB / 1.339 GB, free: 5.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.338, allocations: 485.5 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3384, allocations: 0.7474 MB / 1.34 GB, free: 4.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.3385, allocations: 27.42 kB / 1.34 GB, free: 4.184 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3385, allocations: 0 / 1.34 GB, free: 4.184 MB / 1.029 GB Notification: Performance of Templates: time 0.004724/0.3432, allocations: 2.682 MB / 1.342 GB, free: 1.527 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.502592932985863]