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.0009725/0.0009725, allocations: 79.59 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.0009336/0.0009336, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9378/0.9378, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.883/1.883, allocations: 377.8 MB / 0.6236 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.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.042e-06/1.042e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.662e-05, allocations: 6.109 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002734/0.00275, allocations: 2.513 MB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004296, allocations: 1.251 MB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.004389, allocations: 7.938 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.00476, allocations: 96.19 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005083, allocations: 187.8 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.005383, allocations: 157.2 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.005669, allocations: 339.6 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.005926, allocations: 165 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.00614, allocations: 196.4 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.006354, allocations: 152.9 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.00638, allocations: 23.94 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.006574, allocations: 155.7 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.006658, allocations: 109.6 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.006731, allocations: 91.81 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.007047, allocations: 295 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.007049, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00705, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.007054, allocations: 0 / 0.8171 GB, free: 12.05 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.0006103/0.007664, allocations: 0.5729 MB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.007702, allocations: 12.03 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.008381, allocations: 136.5 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.008621, allocations: 212 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.008635, allocations: 16.86 kB / 0.818 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.008705, allocations: 24.56 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.009032, allocations: 307.1 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.009041, allocations: 0.7188 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.009064, allocations: 16.94 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.009129, allocations: 24.48 kB / 0.8184 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.009322, allocations: 132.6 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009868/0.01031, allocations: 1.186 MB / 0.8197 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.01055, allocations: 143.7 kB / 0.8198 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.01061, allocations: 50.86 kB / 0.8198 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/0.0107, allocations: 13.14 kB / 0.8198 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01072, allocations: 41.33 kB / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.01072, allocations: 3.938 kB / 0.8199 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0006961/0.01142, allocations: 459 kB / 0.8203 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.01145, allocations: 55.41 kB / 0.8204 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.01158, allocations: 229.8 kB / 0.8206 GB, free: 8.219 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.0116, allocations: 29.7 kB / 0.8206 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01169, allocations: 220.2 kB / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.01173, allocations: 67.44 kB / 0.8209 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.01181, allocations: 67.28 kB / 0.821 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01194, allocations: 0.4971 MB / 0.8215 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.01201, allocations: 47.97 kB / 0.8215 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.01212, allocations: 127.6 kB / 0.8216 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.01232, allocations: 184.1 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01232, allocations: 0 / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004983/0.01282, allocations: 275.7 kB / 0.8221 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01284, allocations: 4 kB / 0.8221 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.01284, allocations: 7.984 kB / 0.8221 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.01325, allocations: 104.3 kB / 0.8222 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.01339, allocations: 64.36 kB / 0.8222 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.0146, allocations: 1.915 MB / 0.8241 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01471, allocations: 15.98 kB / 0.8241 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01473, allocations: 8.656 kB / 0.8241 GB, free: 4.398 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 0.0001048/0.01483, allocations: 170.2 kB / 0.8243 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01487, allocations: 27.84 kB / 0.8243 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.01512, allocations: 185.5 kB / 0.8245 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01512, allocations: 4 kB / 0.8245 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01513, allocations: 192 / 0.8245 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01513, allocations: 4 kB / 0.8245 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.01563, allocations: 0.5293 MB / 0.825 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01563, allocations: 0 / 0.825 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.0158, allocations: 55.95 kB / 0.8251 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0158, allocations: 0.9375 kB / 0.8251 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01582, allocations: 11.94 kB / 0.8251 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01582, allocations: 1.031 kB / 0.8251 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01582, allocations: 3.938 kB / 0.8251 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.01612, allocations: 376.1 kB / 0.8254 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.01617, allocations: 35.88 kB / 0.8255 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01619, allocations: 8 kB / 0.8255 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.01627, allocations: 9.078 kB / 0.8255 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.0163, allocations: 19.97 kB / 0.8255 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.01631, allocations: 7.938 kB / 0.8255 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.162e-05/0.01639, allocations: 174.2 kB / 0.8257 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01639, allocations: 0 / 0.8257 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002459/0.01664, allocations: 67.94 kB / 0.8258 GB, free: 2.652 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.0001134/0.01675, allocations: 109.6 kB / 0.8259 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.01717, allocations: 358.3 kB / 0.8262 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01718, allocations: 1.312 kB / 0.8262 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.01725, allocations: 73.94 kB / 0.8263 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.0175, allocations: 35.64 kB / 0.8263 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.01846, allocations: 0.5459 MB / 0.8268 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.453e-05/0.01853, allocations: 104.2 kB / 0.8269 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.716e-05/0.01862, allocations: 49.89 kB / 0.827 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.01867, allocations: 16.5 kB / 0.827 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01867, allocations: 4 kB / 0.827 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of Templates: time 0.004609/0.02328, allocations: 2.814 MB / 0.8298 GB, free: 14.52 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.240292883943766]