Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.0009955/0.0009955, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.000962/0.000962, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9447/0.9447, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.811/1.811, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.769e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.006814/0.006842, allocations: 2.59 MB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004162/0.011, allocations: 0.7921 MB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.0111, allocations: 1.062 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.01211, allocations: 0.5549 MB / 0.8153 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.01235, allocations: 112.5 kB / 0.8154 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.01259, allocations: 117.2 kB / 0.8156 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.01283, allocations: 199.4 kB / 0.8157 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.01314, allocations: 137.4 kB / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.01627, allocations: 119.8 kB / 0.816 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.01651, allocations: 88.62 kB / 0.8161 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.01653, allocations: 12 kB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.01669, allocations: 104.9 kB / 0.8162 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.01676, allocations: 67.81 kB / 0.8162 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.01682, allocations: 47.91 kB / 0.8163 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.01709, allocations: 177.3 kB / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01709, allocations: 0 / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01709, allocations: 0 / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.0171, allocations: 0 / 0.8165 GB, free: 12.99 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005199/0.01762, allocations: 476.2 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.01765, allocations: 9.094 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003856/0.01804, allocations: 72.73 kB / 0.817 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.01824, allocations: 158 kB / 0.8171 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.01826, allocations: 20.62 kB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.01828, allocations: 12.38 kB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.01856, allocations: 194.5 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01857, allocations: 192 / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.01859, allocations: 13.11 kB / 0.8174 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.01862, allocations: 16.22 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.01875, allocations: 65.86 kB / 0.8175 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.02255, allocations: 0.9963 MB / 0.8184 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.356e-05/0.02261, allocations: 48.09 kB / 0.8185 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.02264, allocations: 11.69 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.02265, allocations: 0 / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.02267, allocations: 33.92 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.02267, allocations: 1.281 kB / 0.8185 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/0.02283, allocations: 57.92 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.02286, allocations: 55.34 kB / 0.8186 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.02298, allocations: 211.7 kB / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.02299, allocations: 26.8 kB / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.02307, allocations: 190.3 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.02309, allocations: 20.75 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.02314, allocations: 47.25 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.02326, allocations: 0.4883 MB / 0.8196 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.02329, allocations: 25.42 kB / 0.8196 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.02336, allocations: 108.5 kB / 0.8197 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.02348, allocations: 143.1 kB / 0.8198 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.02348, allocations: 3.438 kB / 0.8198 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001569/0.02364, allocations: 117.4 kB / 0.82 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.02366, allocations: 10.66 kB / 0.82 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.02366, allocations: 0 / 0.82 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.02368, allocations: 4 kB / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.02377, allocations: 24.61 kB / 0.82 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.02378, allocations: 8.438 kB / 0.82 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.02384, allocations: 13.42 kB / 0.82 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.02385, allocations: 15.94 kB / 0.82 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.376e-05/0.02391, allocations: 142.9 kB / 0.8202 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.966e-05/0.02398, allocations: 112.5 kB / 0.8203 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000223/0.0242, allocations: 128.3 kB / 0.8204 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.0242, allocations: 0 / 0.8204 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001479/0.02435, allocations: 127.6 kB / 0.8205 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.02436, allocations: 4 kB / 0.8205 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.02436, allocations: 4.812 kB / 0.8205 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.02437, allocations: 4 kB / 0.8205 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.02444, allocations: 29.67 kB / 0.8206 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.02444, allocations: 4 kB / 0.8206 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.02449, allocations: 4 kB / 0.8206 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.02449, allocations: 8 kB / 0.8206 GB, free: 8.355 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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.475e-05/0.02458, allocations: 283.4 kB / 0.8208 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.0246, allocations: 11.95 kB / 0.8209 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.02463, allocations: 16.33 kB / 0.8209 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.02463, allocations: 0 / 0.8209 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02463, allocations: 3.938 kB / 0.8209 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.02464, allocations: 0 / 0.8209 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.02494, allocations: 495.2 kB / 0.8213 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02494, allocations: 4.938 kB / 0.8214 GB, free: 7.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/0.02796, allocations: 4 kB / 0.8214 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02797, allocations: 1.031 kB / 0.8214 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.02797, allocations: 4 kB / 0.8214 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.02798, allocations: 7.922 kB / 0.8214 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02798, allocations: 1.125 kB / 0.8214 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.463e-05/0.02807, allocations: 119.4 kB / 0.8215 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.0281, allocations: 13.08 kB / 0.8215 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.02811, allocations: 0 / 0.8215 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.694e-05/0.02814, allocations: 7.938 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.02816, allocations: 9.078 kB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.02816, allocations: 0 / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.02822, allocations: 145.4 kB / 0.8217 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02822, allocations: 0.5 kB / 0.8217 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003342/0.02855, allocations: 55.84 kB / 0.8217 GB, free: 7.102 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.8e-05/0.02864, allocations: 101.3 kB / 0.8218 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.0288, allocations: 109.5 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0288, allocations: 0 / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.02882, allocations: 19.72 kB / 0.8219 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.02907, allocations: 25.86 kB / 0.8219 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.02965, allocations: 270.3 kB / 0.8222 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.0297, allocations: 75.83 kB / 0.8223 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.558e-05/0.02977, allocations: 22.84 kB / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.0298, allocations: 12.5 kB / 0.8223 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.0298, allocations: 2.25 kB / 0.8223 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of Templates: time 0.003317/0.03312, allocations: 0.7971 MB / 0.8231 GB, free: 5.629 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.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.031902639893815]