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.001508/0.001508, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001658/0.001658, allocations: 167.2 kB / 24.87 MB, free: 8.875 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.531 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.896/1.896, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.783e-06/1.783e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.83e-05, allocations: 7.5 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004058/0.004086, allocations: 2.49 MB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.006324, allocations: 1.24 MB / 0.8164 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.006524, allocations: 7.938 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.007042, allocations: 97.09 kB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004562/0.007498, allocations: 187 kB / 0.8167 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.007955, allocations: 162.4 kB / 0.8168 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.008391, allocations: 334.8 kB / 0.8172 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.008721, allocations: 173 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.009063, allocations: 191.5 kB / 0.8175 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.009425, allocations: 156.2 kB / 0.8177 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.009466, allocations: 20.91 kB / 0.8177 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.009793, allocations: 155.7 kB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.009925, allocations: 108.9 kB / 0.8179 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.01003, allocations: 91.75 kB / 0.818 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.01052, allocations: 295.1 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01052, allocations: 0 / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01052, allocations: 1.375 kB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.01053, allocations: 0 / 0.8183 GB, free: 11.8 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.0007954/0.01133, allocations: 0.5717 MB / 0.8189 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.01136, allocations: 11.97 kB / 0.8189 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.01201, allocations: 116.6 kB / 0.819 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.01254, allocations: 204.2 kB / 0.8192 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.01256, allocations: 16.86 kB / 0.8192 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.01265, allocations: 24.56 kB / 0.8192 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.013, allocations: 291 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01301, allocations: 4.703 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.01304, allocations: 14.69 kB / 0.8195 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/0.01313, allocations: 32.47 kB / 0.8195 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.01332, allocations: 99.34 kB / 0.8196 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.01449, allocations: 1.122 MB / 0.8207 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.01472, allocations: 118.9 kB / 0.8208 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.01479, allocations: 39.67 kB / 0.8209 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.01486, allocations: 12.48 kB / 0.8209 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.01489, allocations: 45.89 kB / 0.8209 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.01489, allocations: 1.688 kB / 0.8209 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0006899/0.01558, allocations: 395.8 kB / 0.8213 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.01563, allocations: 55.41 kB / 0.8214 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.01578, allocations: 233.8 kB / 0.8216 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.0158, allocations: 36.28 kB / 0.8216 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.0159, allocations: 211.2 kB / 0.8218 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.01596, allocations: 67.42 kB / 0.8219 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.01605, allocations: 71.3 kB / 0.822 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.0162, allocations: 0.5001 MB / 0.8225 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.01627, allocations: 31.97 kB / 0.8225 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01638, allocations: 114.8 kB / 0.8226 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.01658, allocations: 156.1 kB / 0.8227 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01658, allocations: 0.8438 kB / 0.8227 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004569/0.01704, allocations: 262.9 kB / 0.823 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01705, allocations: 4 kB / 0.823 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01706, allocations: 0 / 0.823 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.01752, allocations: 103.5 kB / 0.8231 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01768, allocations: 43.91 kB / 0.8231 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.01902, allocations: 1.896 MB / 0.825 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.01915, allocations: 5.969 kB / 0.825 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.01917, allocations: 11.98 kB / 0.825 GB, free: 4.508 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.0001105/0.01928, allocations: 168.5 kB / 0.8252 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.01934, allocations: 25.19 kB / 0.8252 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.0196, allocations: 165.9 kB / 0.8254 GB, free: 4.145 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01961, allocations: 3.938 kB / 0.8254 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01961, allocations: 0.6562 kB / 0.8254 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01961, allocations: 4 kB / 0.8254 GB, free: 4.137 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.02017, allocations: 475.6 kB / 0.8258 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.02017, allocations: 7.875 kB / 0.8258 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.02037, allocations: 51.97 kB / 0.8259 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.02037, allocations: 0 / 0.8259 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.02039, allocations: 12.12 kB / 0.8259 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.02039, allocations: 9.672 kB / 0.8259 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.0204, allocations: 0 / 0.8259 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.02101, allocations: 349.2 kB / 0.8262 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.02107, allocations: 35.88 kB / 0.8263 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.0211, allocations: 0.5938 kB / 0.8263 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.02121, allocations: 8 kB / 0.8263 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.02124, allocations: 13.22 kB / 0.8263 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.02125, allocations: 8 kB / 0.8263 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.02134, allocations: 165.1 kB / 0.8264 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02134, allocations: 320 / 0.8264 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000354/0.02169, allocations: 79.92 kB / 0.8265 GB, free: 2.887 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.0001467/0.02184, allocations: 107.2 kB / 0.8266 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.0223, allocations: 338.7 kB / 0.8269 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.0223, allocations: 4.375 kB / 0.8269 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.02238, allocations: 65 kB / 0.827 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.02272, allocations: 35.86 kB / 0.827 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.02382, allocations: 0.5332 MB / 0.8276 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.0239, allocations: 108.2 kB / 0.8277 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.024, allocations: 25.94 kB / 0.8277 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.02414, allocations: 110.2 kB / 0.8278 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.02414, allocations: 0 / 0.8278 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of Templates: time 0.006909/0.03105, allocations: 3.038 MB / 0.8308 GB, free: 14.49 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.212087858002633]