Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00102/0.00102, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.0009545/0.0009545, allocations: 173.7 kB / 23.27 MB, free: 1.227 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.9526/0.9526, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.312/2.312, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.115e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003/0.003021, allocations: 1.929 MB / 0.8916 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.006081, allocations: 3.698 MB / 0.8952 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.006163, allocations: 3.938 kB / 0.8952 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.006804, allocations: 187.1 kB / 0.8954 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.006945, allocations: 75.41 kB / 0.8955 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.129e-05/0.007036, allocations: 55.92 kB / 0.8955 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.007377, allocations: 290.9 kB / 0.8958 GB, free: 3.512 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.007466, allocations: 17.8 kB / 0.8958 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.007587, allocations: 107.7 kB / 0.8959 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.007676, allocations: 67.8 kB / 0.896 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.007693, allocations: 8 kB / 0.896 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.007764, allocations: 31.97 kB / 0.896 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.007816, allocations: 55.78 kB / 0.8961 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.007862, allocations: 55.84 kB / 0.8962 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.008027, allocations: 167.2 kB / 0.8963 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.008028, allocations: 0 / 0.8963 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.12e-07/0.008029, allocations: 0 / 0.8963 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.008033, allocations: 0 / 0.8963 GB, free: 3.008 MB / 0.8542 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.0005032/0.008536, allocations: 0.5535 MB / 0.8969 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.008572, allocations: 12.62 kB / 0.8969 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.008954, allocations: 96.66 kB / 0.897 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.009121, allocations: 200.7 kB / 0.8972 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.009129, allocations: 4.359 kB / 0.8972 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.009142, allocations: 4.375 kB / 0.8972 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.009302, allocations: 110.8 kB / 0.8973 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.009307, allocations: 192 / 0.8973 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.00932, allocations: 8.109 kB / 0.8973 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.009349, allocations: 15.92 kB / 0.8973 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.009418, allocations: 38.16 kB / 0.8973 GB, free: 1.906 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.009782, allocations: 360.1 kB / 0.8977 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.009896, allocations: 99.02 kB / 0.8978 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.22e-05/0.009948, allocations: 39.66 kB / 0.8978 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.009966, allocations: 7.938 kB / 0.8978 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.009985, allocations: 37.39 kB / 0.8978 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.009986, allocations: 0 / 0.8978 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002328/0.01022, allocations: 148.9 kB / 0.898 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.01024, allocations: 51.41 kB / 0.898 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.01039, allocations: 310.2 kB / 0.8983 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01041, allocations: 25.7 kB / 0.8984 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.01049, allocations: 194.8 kB / 0.8985 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.01052, allocations: 43.62 kB / 0.8986 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.01057, allocations: 47.3 kB / 0.8986 GB, free: 476 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.0107, allocations: 0.5118 MB / 0.8991 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.01074, allocations: 15.98 kB / 0.8991 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.01077, allocations: 23.98 kB / 0.8992 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.501e-05/0.01086, allocations: 55.67 kB / 0.8992 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01086, allocations: 0 / 0.8992 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001423/0.011, allocations: 113.4 kB / 0.8993 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.01101, allocations: 11.98 kB / 0.8993 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01102, allocations: 3.984 kB / 0.8993 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.01103, allocations: 4 kB / 0.8993 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.01115, allocations: 23.98 kB / 0.8994 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.01115, allocations: 4 kB / 0.8994 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.01122, allocations: 11.98 kB / 0.8994 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.01123, allocations: 4 kB / 0.8994 GB, free: 15.66 MB / 0.8698 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 8.036e-05/0.01131, allocations: 168.5 kB / 0.8995 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.01134, allocations: 35.75 kB / 0.8996 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.01138, allocations: 33.73 kB / 0.8996 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01138, allocations: 4 kB / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01138, allocations: 4 kB / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.01139, allocations: 0 / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.01153, allocations: 161.1 kB / 0.8998 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.01153, allocations: 0 / 0.8998 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.01162, allocations: 31.97 kB / 0.8998 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01163, allocations: 0 / 0.8998 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.01163, allocations: 3.938 kB / 0.8998 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01164, allocations: 4 kB / 0.8998 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01164, allocations: 0 / 0.8998 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.01183, allocations: 277.4 kB / 0.9001 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.01187, allocations: 39.83 kB / 0.9001 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.01189, allocations: 7.938 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.01197, allocations: 4 kB / 0.9001 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01201, allocations: 15.97 kB / 0.9001 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01202, allocations: 4 kB / 0.9001 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.0121, allocations: 203 kB / 0.9003 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0121, allocations: 0 / 0.9003 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001729/0.01227, allocations: 40 kB / 0.9004 GB, free: 14.59 MB / 0.8698 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 7.247e-05/0.01234, allocations: 103.2 kB / 0.9005 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01246, allocations: 78.58 kB / 0.9006 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.91e-07/0.01246, allocations: 0 / 0.9006 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.01252, allocations: 51.58 kB / 0.9006 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01278, allocations: 68.8 kB / 0.9007 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006312/0.01341, allocations: 403.5 kB / 0.9011 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.01346, allocations: 87.81 kB / 0.9011 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.695e-05/0.01355, allocations: 29.48 kB / 0.9012 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.01369, allocations: 122.1 kB / 0.9013 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.01369, allocations: 0 / 0.9013 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.00414/0.01783, allocations: 2.934 MB / 0.9041 GB, free: 10.72 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.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: 5.088809798005968]