Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0007378/0.0007378, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009775/0.001715, 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.0006487/0.0006487, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007899/0.001439, 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.9489/0.9489, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.057, allocations: 53.64 MB / 243.3 MB, free: 15.59 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.945/1.945, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4883/2.434, allocations: 123.3 MB / 0.728 GB, free: 5.789 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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.472e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001742/0.001757, allocations: 1.626 MB / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005327/0.00229, allocations: 489.4 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.002336, allocations: 0 / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.002357, allocations: 7.938 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.002393, allocations: 15.48 kB / 0.7314 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.002498, allocations: 31.95 kB / 0.7314 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.363e-05/0.002591, allocations: 55.34 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.002664, allocations: 12.62 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.002783, allocations: 51.78 kB / 0.7315 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.002847, allocations: 16.67 kB / 0.7316 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.002862, allocations: 4 kB / 0.7316 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.304e-05/0.002915, allocations: 9.781 kB / 0.7316 GB, free: 2.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.002927, allocations: 7.938 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.002947, allocations: 11.94 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003053, allocations: 39.89 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.003068, allocations: 0.9688 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003068, allocations: 0 / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.003082, allocations: 0 / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003938/0.003476, allocations: 277.5 kB / 0.7319 GB, free: 1.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.003509, allocations: 8.031 kB / 0.7319 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.003677, allocations: 98.52 kB / 0.732 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.003825, allocations: 138.4 kB / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.003832, allocations: 384 / 0.7321 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003842, allocations: 5.25 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.003952, allocations: 58.94 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.00396, allocations: 0.75 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.003967, allocations: 2.156 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.003972, allocations: 3.938 kB / 0.7322 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.413e-05/0.003996, allocations: 7.984 kB / 0.7322 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.004216, allocations: 152.3 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.004273, allocations: 27.64 kB / 0.7324 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.004287, allocations: 4.859 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.004301, allocations: 4.969 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.004318, allocations: 30.56 kB / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.004319, allocations: 0 / 0.7324 GB, free: 1.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.00443, allocations: 54.67 kB / 0.7325 GB, free: 1.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.004461, allocations: 55.41 kB / 0.7325 GB, free: 1.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.00452, allocations: 126.3 kB / 0.7326 GB, free: 1.008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.00453, allocations: 26.23 kB / 0.7327 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.004561, allocations: 93.05 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.004578, allocations: 7.906 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.004649, allocations: 18.22 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.004721, allocations: 322.8 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.004731, allocations: 0.875 kB / 0.7331 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.00474, allocations: 4.188 kB / 0.7331 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.004766, allocations: 18.98 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.004768, allocations: 0 / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.877e-05/0.004817, allocations: 45.62 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004829, allocations: 6.812 kB / 0.7332 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.004835, allocations: 3.938 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.004842, allocations: 0 / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.004909, allocations: 13.17 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004912, allocations: 0 / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.00493, allocations: 4 kB / 0.7332 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.004936, allocations: 8.453 kB / 0.7332 GB, free: 432 kB / 0.698 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 (3): * Single equations (assignments): 3 * 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 4.618e-05/0.004982, allocations: 106.7 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.004996, allocations: 7.984 kB / 0.7333 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.005019, allocations: 16.44 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.005022, allocations: 4.75 kB / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.005023, allocations: 0 / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.005026, allocations: 1.031 kB / 0.7333 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.14e-05/0.005107, allocations: 73.88 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005108, allocations: 0 / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.005133, allocations: 12.67 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.005141, allocations: 7.891 kB / 0.7334 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005142, allocations: 1.781 kB / 0.7334 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.005148, allocations: 8 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.00515, allocations: 3.938 kB / 0.7334 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.005152, allocations: 3.938 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.005224, allocations: 140.8 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.005233, allocations: 0 / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.005278, allocations: 4.047 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.005307, allocations: 3.938 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005309, allocations: 4.688 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.005327, allocations: 20.84 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005327, allocations: 4.844 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001147/0.005442, allocations: 4 kB / 0.7336 GB, free: 15.96 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 (3): * Single equations (assignments): 3 * 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 6.173e-05/0.005504, allocations: 82.91 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.911e-05/0.005563, allocations: 16.8 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.005569, allocations: 7.984 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.005584, allocations: 8.859 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.005695, allocations: 8.5 kB / 0.7337 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.006822, allocations: 187.2 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.055e-05/0.006852, allocations: 59.34 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.006875, allocations: 10.7 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.006911, allocations: 47.38 kB / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.006911, allocations: 4 kB / 0.734 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of Templates: time 0.001786/0.008697, allocations: 451.5 kB / 0.7344 GB, free: 15.05 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.876150160096586]