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.001077/0.001077, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009873/0.0009873, allocations: 181 kB / 24.09 MB, free: 420 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.9413/0.9413, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.792/1.792, allocations: 377.9 MB / 0.624 GB, free: 8.398 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.353e-06/1.353e-06, allocations: 0 / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.611e-05, allocations: 2.312 kB / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002495/0.002512, allocations: 2.136 MB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003608, allocations: 0.5231 MB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.003692, allocations: 4.688 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.004392, allocations: 408.4 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.004592, allocations: 100.3 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004814, allocations: 114.2 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.005009, allocations: 207.4 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.005247, allocations: 136.8 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.005358, allocations: 115.8 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.005542, allocations: 97.27 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.005563, allocations: 12 kB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.005681, allocations: 71.8 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.005735, allocations: 69.19 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.005781, allocations: 55.84 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.005963, allocations: 155.5 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005965, allocations: 0 / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005966, allocations: 4.594 kB / 0.8161 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.005969, allocations: 0 / 0.8161 GB, free: 13.3 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.000724/0.006693, allocations: 469.3 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.006724, allocations: 12.03 kB / 0.8165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.006972, allocations: 74.64 kB / 0.8166 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.00714, allocations: 156.4 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.007154, allocations: 12.64 kB / 0.8167 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.00717, allocations: 12.91 kB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.007361, allocations: 192.1 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.00737, allocations: 192 / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.007384, allocations: 13.72 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.00741, allocations: 20.22 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.403e-05/0.007474, allocations: 52.73 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.008104, allocations: 0.9927 MB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.008149, allocations: 35.05 kB / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.008166, allocations: 16.44 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.008175, allocations: 0 / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.008193, allocations: 38.11 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.008194, allocations: 0 / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001099/0.008304, allocations: 58.95 kB / 0.8181 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.008324, allocations: 51.41 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.008412, allocations: 203.9 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.00842, allocations: 27.58 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.008487, allocations: 198.3 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.008498, allocations: 19.84 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.008534, allocations: 35.31 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.008644, allocations: 0.4961 MB / 0.8191 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.008666, allocations: 24.64 kB / 0.8192 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.00872, allocations: 115.2 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.008803, allocations: 130.4 kB / 0.8194 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.008806, allocations: 7.984 kB / 0.8194 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001031/0.008909, allocations: 105.4 kB / 0.8195 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.00892, allocations: 8.75 kB / 0.8195 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008925, allocations: 4 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.008935, allocations: 4.5 kB / 0.8195 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.009001, allocations: 28.42 kB / 0.8195 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.009004, allocations: 4 kB / 0.8195 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.009045, allocations: 20.45 kB / 0.8196 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.009052, allocations: 9.281 kB / 0.8196 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003584/0.00941, allocations: 142.8 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.779e-05/0.009458, allocations: 104.5 kB / 0.8198 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.178e-05/0.00953, allocations: 132.7 kB / 0.8199 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.009531, allocations: 0 / 0.8199 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 9.228e-05/0.009623, allocations: 114.5 kB / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.009629, allocations: 11.98 kB / 0.8201 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-06/0.00963, allocations: 0 / 0.8201 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.009633, allocations: 4 kB / 0.8201 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.009678, allocations: 27.94 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.009681, allocations: 7.984 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.009712, allocations: 4 kB / 0.8201 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.009716, allocations: 4 kB / 0.8201 GB, free: 8.73 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.664e-05/0.009803, allocations: 276 kB / 0.8204 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.009823, allocations: 12.83 kB / 0.8204 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.009846, allocations: 12.34 kB / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009848, allocations: 0 / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.00985, allocations: 1.031 kB / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009853, allocations: 0 / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.01009, allocations: 476.9 kB / 0.8208 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01009, allocations: 0 / 0.8208 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.01011, allocations: 13.03 kB / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01011, allocations: 0 / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.01011, allocations: 0 / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01012, allocations: 8.938 kB / 0.8209 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01012, allocations: 3.938 kB / 0.8209 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.01018, allocations: 112 kB / 0.821 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.0102, allocations: 13.61 kB / 0.821 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.01021, allocations: 3.984 kB / 0.821 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.574e-05/0.01023, allocations: 4 kB / 0.821 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.01024, allocations: 11.81 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.01024, allocations: 4 kB / 0.821 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.571e-05/0.01029, allocations: 145.2 kB / 0.8211 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0.5 kB / 0.8211 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000228/0.01052, allocations: 57.31 kB / 0.8212 GB, free: 7.512 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 7.549e-05/0.01059, allocations: 99.25 kB / 0.8213 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01073, allocations: 102.3 kB / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01073, allocations: 0 / 0.8214 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-05/0.01074, allocations: 19.16 kB / 0.8214 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.01093, allocations: 27.91 kB / 0.8214 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.01148, allocations: 266.3 kB / 0.8217 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.612e-05/0.01152, allocations: 79.81 kB / 0.8218 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01157, allocations: 7.875 kB / 0.8218 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.01163, allocations: 82.19 kB / 0.8219 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01163, allocations: 0 / 0.8219 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of Templates: time 0.002342/0.01397, allocations: 0.8682 MB / 0.8227 GB, free: 5.906 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: 4.941224834881723]