Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0009632/0.0009632, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009843/0.0009843, allocations: 161 kB / 23.82 MB, free: 0.75 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.9348/0.9348, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.899/1.899, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.657e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002025/0.002042, allocations: 1.708 MB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003332, allocations: 1.418 MB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.003387, allocations: 1.594 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.003593, allocations: 27.73 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.003894, allocations: 113.3 kB / 0.8147 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.004119, allocations: 139.5 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.00435, allocations: 249.6 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.004438, allocations: 11.98 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.004542, allocations: 124.4 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.004674, allocations: 79.83 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.004702, allocations: 16.53 kB / 0.8153 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.004846, allocations: 124.5 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.004923, allocations: 83.73 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.004993, allocations: 76.28 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.005284, allocations: 292.4 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005286, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005287, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005291, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005951/0.005886, allocations: 0.5906 MB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.005918, allocations: 9.406 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.005986, allocations: 36.8 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.006187, allocations: 219.5 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.006205, allocations: 16.69 kB / 0.8167 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.006232, allocations: 25.47 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.006489, allocations: 273.6 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.0065, allocations: 4.188 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.006516, allocations: 9.5 kB / 0.817 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.006525, allocations: 4 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.007006, allocations: 0.6282 MB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.007574, allocations: 0.4969 MB / 0.8181 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.007831, allocations: 177.9 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.007909, allocations: 64.2 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.007944, allocations: 16.83 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.008112, allocations: 139.9 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 2.375e-06/0.008115, allocations: 3.984 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0003814/0.008496, allocations: 271.1 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.008551, allocations: 133.4 kB / 0.8189 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.008736, allocations: 308.3 kB / 0.8192 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.008757, allocations: 42.98 kB / 0.8192 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.008847, allocations: 171.5 kB / 0.8194 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.008929, allocations: 123 kB / 0.8195 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.008996, allocations: 71.34 kB / 0.8196 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.009124, allocations: 0.5169 MB / 0.8201 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.009198, allocations: 39.97 kB / 0.8201 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.009325, allocations: 183.5 kB / 0.8203 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.009489, allocations: 131.7 kB / 0.8204 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009491, allocations: 0 / 0.8204 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002498/0.009741, allocations: 233.2 kB / 0.8206 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.009752, allocations: 4 kB / 0.8206 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.009758, allocations: 4 kB / 0.8207 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.009773, allocations: 6.469 kB / 0.8207 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.009921, allocations: 63.91 kB / 0.8207 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.009928, allocations: 4 kB / 0.8207 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.009999, allocations: 27.83 kB / 0.8207 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01001, allocations: 12 kB / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001003/0.01011, allocations: 173 kB / 0.8209 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.01015, allocations: 39.86 kB / 0.821 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.01052, allocations: 312.9 kB / 0.8213 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01053, allocations: 4 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01053, allocations: 0.6562 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01053, allocations: 0 / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.01069, allocations: 229 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01069, allocations: 3.156 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.0108, allocations: 59.91 kB / 0.8215 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0108, allocations: 4 kB / 0.8215 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01081, allocations: 11.94 kB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01081, allocations: 3.984 kB / 0.8216 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01081, allocations: 0 / 0.8216 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.01107, allocations: 277.8 kB / 0.8218 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.01114, allocations: 63.67 kB / 0.8219 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.01117, allocations: 15.98 kB / 0.8219 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.01123, allocations: 10.41 kB / 0.8219 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.01128, allocations: 23.95 kB / 0.8219 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01129, allocations: 19.98 kB / 0.822 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001211/0.01141, allocations: 221.1 kB / 0.8222 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 0.8222 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001996/0.01161, allocations: 71.88 kB / 0.8222 GB, free: 6.395 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008463/0.01246, allocations: 454.1 kB / 0.8227 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.01269, allocations: 165.9 kB / 0.8228 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01269, allocations: 0 / 0.8228 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01279, allocations: 103.5 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.01298, allocations: 55.91 kB / 0.823 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.01362, allocations: 429.4 kB / 0.8234 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.04e-05/0.01367, allocations: 105.6 kB / 0.8235 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.01384, allocations: 134.9 kB / 0.8236 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.01391, allocations: 48.47 kB / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01391, allocations: 0 / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of Templates: time 0.005387/0.0193, allocations: 3.456 MB / 0.827 GB, free: 1.605 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.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.276774219237268]