Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001013/0.001013, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009662/0.0009662, 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.9134/0.9134, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.821/1.821, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.129e-05, allocations: 4.078 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003181/0.003202, allocations: 3.196 MB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.00523, allocations: 1.746 MB / 0.8163 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.005322, allocations: 7.938 kB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.005957, allocations: 332.4 kB / 0.8167 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.00625, allocations: 224.7 kB / 0.8169 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.006509, allocations: 185.4 kB / 0.8171 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.006774, allocations: 326.8 kB / 0.8174 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.007031, allocations: 173 kB / 0.8175 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.007237, allocations: 191.5 kB / 0.8177 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.007457, allocations: 156.5 kB / 0.8179 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.007484, allocations: 20 kB / 0.8179 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.007701, allocations: 229 kB / 0.8181 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.007789, allocations: 111.7 kB / 0.8182 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.007863, allocations: 87.81 kB / 0.8183 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.008183, allocations: 331 kB / 0.8186 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.008185, allocations: 5.531 kB / 0.8186 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008186, allocations: 0 / 0.8186 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.008191, allocations: 0 / 0.8186 GB, free: 10.81 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006105/0.008801, allocations: 0.5756 MB / 0.8192 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.008835, allocations: 12.03 kB / 0.8192 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.009316, allocations: 136.4 kB / 0.8193 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.00955, allocations: 213 kB / 0.8195 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.009565, allocations: 12.88 kB / 0.8195 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.009638, allocations: 28.55 kB / 0.8196 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.009971, allocations: 307.1 kB / 0.8199 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.009982, allocations: 192 / 0.8199 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.01, allocations: 12.69 kB / 0.8199 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.01007, allocations: 33.16 kB / 0.8199 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.01027, allocations: 127.3 kB / 0.82 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.01124, allocations: 1.191 MB / 0.8212 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.01147, allocations: 143.5 kB / 0.8213 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.01153, allocations: 49.03 kB / 0.8214 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.178e-05/0.01161, allocations: 12 kB / 0.8214 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.01163, allocations: 37.39 kB / 0.8214 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.01163, allocations: 1.219 kB / 0.8214 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0006832/0.01231, allocations: 452 kB / 0.8218 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01234, allocations: 59.95 kB / 0.8219 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.01248, allocations: 233.8 kB / 0.8221 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.0125, allocations: 38.45 kB / 0.8222 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.01259, allocations: 219.2 kB / 0.8224 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.01263, allocations: 68.23 kB / 0.8224 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.0127, allocations: 63.31 kB / 0.8225 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003878/0.01308, allocations: 0.4971 MB / 0.823 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.01316, allocations: 43.97 kB / 0.823 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.01326, allocations: 122.8 kB / 0.8231 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.01345, allocations: 190.7 kB / 0.8233 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01345, allocations: 1.938 kB / 0.8233 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003906/0.01384, allocations: 269.7 kB / 0.8236 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.01385, allocations: 4 kB / 0.8236 GB, free: 5.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.01386, allocations: 11.42 kB / 0.8236 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/0.01423, allocations: 105.5 kB / 0.8237 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01437, allocations: 60.33 kB / 0.8238 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.01548, allocations: 1.916 MB / 0.8256 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01559, allocations: 15.98 kB / 0.8256 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.0156, allocations: 11.98 kB / 0.8257 GB, free: 3.152 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/0.01569, allocations: 171.9 kB / 0.8258 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01572, allocations: 27.84 kB / 0.8258 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.01597, allocations: 185.9 kB / 0.826 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01597, allocations: 4 kB / 0.826 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01598, allocations: 0 / 0.826 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01598, allocations: 0.9375 kB / 0.826 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.01644, allocations: 0.5295 MB / 0.8265 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01644, allocations: 0 / 0.8265 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.0166, allocations: 59.89 kB / 0.8266 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.0166, allocations: 1.031 kB / 0.8266 GB, free: 2.125 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01662, allocations: 8 kB / 0.8266 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01662, allocations: 0 / 0.8266 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01662, allocations: 1.125 kB / 0.8266 GB, free: 2.117 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.0169, allocations: 382.9 kB / 0.827 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.01695, allocations: 33.11 kB / 0.827 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01697, allocations: 11.92 kB / 0.827 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.01706, allocations: 11.98 kB / 0.827 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.01708, allocations: 12.7 kB / 0.827 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.0171, allocations: 11.94 kB / 0.8271 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.01717, allocations: 170.8 kB / 0.8272 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-07/0.01717, allocations: 0 / 0.8272 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002237/0.0174, allocations: 64 kB / 0.8273 GB, free: 1.41 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 0.0001262/0.01752, allocations: 103.7 kB / 0.8274 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.01795, allocations: 365.6 kB / 0.8277 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.01795, allocations: 4 kB / 0.8277 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.01802, allocations: 71.03 kB / 0.8278 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01828, allocations: 35.05 kB / 0.8278 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.01922, allocations: 0.5377 MB / 0.8284 GB, free: 248 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.01929, allocations: 108.3 kB / 0.8285 GB, free: 120 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.108e-05/0.01938, allocations: 45.91 kB / 0.8285 GB, free: 76 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.01943, allocations: 20.5 kB / 0.8285 GB, free: 56 kB / 0.7761 GB Notification: Performance of SimCode: time 1.001e-06/0.01943, allocations: 4 kB / 0.8285 GB, free: 52 kB / 0.7761 GB Notification: Performance of Templates: time 0.004697/0.02413, allocations: 2.822 MB / 0.8313 GB, free: 13.28 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_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.087642000056803]