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.002341/0.002341, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002303/0.002303, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.853/2.853, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 2.054e-06/2.054e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.223e-05, allocations: 13.14 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003832/0.003864, allocations: 1.936 MB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005935/0.009799, allocations: 3.567 MB / 0.7918 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.009993, allocations: 7.938 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.01032, allocations: 52.16 kB / 0.7918 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.01097, allocations: 136.4 kB / 0.7919 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.01115, allocations: 49.55 kB / 0.792 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.01152, allocations: 183.1 kB / 0.7922 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.01163, allocations: 13.81 kB / 0.7922 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.01197, allocations: 124.2 kB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.01215, allocations: 64.48 kB / 0.7924 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.01219, allocations: 12.69 kB / 0.7924 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.01231, allocations: 23.94 kB / 0.7924 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.0124, allocations: 44.7 kB / 0.7924 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.01249, allocations: 47.86 kB / 0.7925 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.01284, allocations: 172.7 kB / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.01284, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01284, allocations: 0 / 0.7926 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.01285, allocations: 1.812 kB / 0.7926 GB, free: 6.402 MB / 0.7448 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.001041/0.01389, allocations: 0.5341 MB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.01394, allocations: 8.031 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004136/0.01435, allocations: 62.5 kB / 0.7932 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.01477, allocations: 196.5 kB / 0.7934 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.01478, allocations: 384 / 0.7934 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.0148, allocations: 8.375 kB / 0.7934 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.0151, allocations: 96.45 kB / 0.7935 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.01511, allocations: 192 / 0.7935 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.01513, allocations: 8.125 kB / 0.7935 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.01516, allocations: 11.98 kB / 0.7935 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.01547, allocations: 81.91 kB / 0.7936 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.01626, allocations: 403.5 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.0166, allocations: 116 kB / 0.7941 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.01679, allocations: 65.55 kB / 0.7942 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01681, allocations: 4 kB / 0.7942 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.01685, allocations: 33.39 kB / 0.7942 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.01685, allocations: 0 / 0.7942 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0006729/0.01753, allocations: 200.1 kB / 0.7944 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.01758, allocations: 55.41 kB / 0.7945 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.0179, allocations: 296.3 kB / 0.7947 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.01793, allocations: 26.86 kB / 0.7948 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.01807, allocations: 174.9 kB / 0.7949 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.01814, allocations: 55.53 kB / 0.795 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.01822, allocations: 35.89 kB / 0.795 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003056/0.01852, allocations: 0.5164 MB / 0.7955 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.01868, allocations: 40.81 kB / 0.7956 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.01882, allocations: 34.08 kB / 0.7956 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.01914, allocations: 103.9 kB / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01915, allocations: 0 / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004238/0.01957, allocations: 149.5 kB / 0.7958 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01959, allocations: 6.188 kB / 0.7958 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01959, allocations: 0 / 0.7958 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01961, allocations: 4 kB / 0.7958 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.01982, allocations: 29.44 kB / 0.7959 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.01982, allocations: 0 / 0.7959 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.01995, allocations: 15.95 kB / 0.7959 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01997, allocations: 8.891 kB / 0.7959 GB, free: 2.891 MB / 0.7448 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.0001534/0.02012, allocations: 168.6 kB / 0.7961 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.02019, allocations: 32.92 kB / 0.7961 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.02026, allocations: 25.77 kB / 0.7961 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.02026, allocations: 0 / 0.7961 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.02027, allocations: 5.125 kB / 0.7961 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.02027, allocations: 0 / 0.7961 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.02058, allocations: 192.5 kB / 0.7963 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02059, allocations: 1.25 kB / 0.7963 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.02078, allocations: 39.91 kB / 0.7963 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.02079, allocations: 0 / 0.7963 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.0208, allocations: 1.844 kB / 0.7963 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.0208, allocations: 3.938 kB / 0.7963 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02081, allocations: 0 / 0.7963 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.02135, allocations: 311.6 kB / 0.7966 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.02145, allocations: 39.77 kB / 0.7967 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.02148, allocations: 5.094 kB / 0.7967 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.02163, allocations: 11.98 kB / 0.7967 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.0217, allocations: 12.55 kB / 0.7967 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.02171, allocations: 7.984 kB / 0.7967 GB, free: 2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002015/0.02191, allocations: 205.8 kB / 0.7969 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02191, allocations: 4 kB / 0.7969 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002827/0.0222, allocations: 39.98 kB / 0.797 GB, free: 1.758 MB / 0.7448 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.0002134/0.02241, allocations: 115.1 kB / 0.7971 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.0228, allocations: 103.6 kB / 0.7972 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02281, allocations: 0 / 0.7972 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.023, allocations: 71.58 kB / 0.7972 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.02337, allocations: 38.3 kB / 0.7973 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.02424, allocations: 381 kB / 0.7976 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.02438, allocations: 116.1 kB / 0.7977 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.02454, allocations: 41.09 kB / 0.7978 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.02461, allocations: 20.48 kB / 0.7978 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.02462, allocations: 0 / 0.7978 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of Templates: time 0.005928/0.03054, allocations: 1.751 MB / 0.7995 GB, free: 15.12 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] 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: 8.002416925039142]