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.001019/0.001019, allocations: 87.58 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.0009759/0.0009759, allocations: 161 kB / 23.82 MB, free: 0.75 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.02/1.02, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.796/1.796, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.189e-05, allocations: 4.844 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003224/0.003256, allocations: 2.517 MB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001819/0.005075, allocations: 1.251 MB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.005224, allocations: 7.938 kB / 0.8152 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.005719, allocations: 92.25 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.006135, allocations: 192.9 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.006499, allocations: 153.7 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.006848, allocations: 338.8 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002951/0.007143, allocations: 168.9 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.007437, allocations: 203.5 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.007697, allocations: 148.5 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.007729, allocations: 24 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.007966, allocations: 152.3 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.381e-05/0.00806, allocations: 111.7 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.008138, allocations: 88.5 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.008521, allocations: 299 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.008525, allocations: 1.562 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.008526, allocations: 0 / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.008532, allocations: 0 / 0.8171 GB, free: 12.02 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.0007048/0.009237, allocations: 0.5715 MB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.009275, allocations: 8.031 kB / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.009785, allocations: 142.3 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01008, allocations: 208.1 kB / 0.818 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.0101, allocations: 16.88 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.01017, allocations: 21.59 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.0105, allocations: 311.1 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.01051, allocations: 1.75 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.01054, allocations: 12.12 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/0.01061, allocations: 36.45 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.01079, allocations: 122.8 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.01179, allocations: 1.196 MB / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.01203, allocations: 135 kB / 0.8198 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.0121, allocations: 52.59 kB / 0.8198 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/0.01218, allocations: 8 kB / 0.8199 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.0122, allocations: 37.92 kB / 0.8199 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/0.0122, allocations: 9.312 kB / 0.8199 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0007003/0.0129, allocations: 458.3 kB / 0.8203 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.01293, allocations: 55.41 kB / 0.8204 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.01305, allocations: 231.1 kB / 0.8206 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.01307, allocations: 37.69 kB / 0.8206 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.01315, allocations: 211.2 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.01318, allocations: 72.3 kB / 0.8209 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.01325, allocations: 67.28 kB / 0.821 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.01344, allocations: 0.4962 MB / 0.8215 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.01352, allocations: 48.84 kB / 0.8215 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.944e-05/0.01362, allocations: 122.8 kB / 0.8216 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.0138, allocations: 185 kB / 0.8218 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.0138, allocations: 0 / 0.8218 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003861/0.01419, allocations: 271.6 kB / 0.8221 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.01421, allocations: 8 kB / 0.8221 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01421, allocations: 0 / 0.8221 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.0146, allocations: 105 kB / 0.8222 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01475, allocations: 63.83 kB / 0.8222 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.01592, allocations: 1.919 MB / 0.8241 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.01602, allocations: 16.64 kB / 0.8241 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.01603, allocations: 12 kB / 0.8241 GB, free: 4.367 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 9.406e-05/0.01613, allocations: 170.4 kB / 0.8243 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.01616, allocations: 27.84 kB / 0.8243 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.0164, allocations: 182.7 kB / 0.8245 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.0164, allocations: 4 kB / 0.8245 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.0164, allocations: 0 / 0.8245 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0164, allocations: 0 / 0.8245 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.01686, allocations: 0.5292 MB / 0.825 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01686, allocations: 0 / 0.825 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.01702, allocations: 60.86 kB / 0.8251 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01702, allocations: 128 / 0.8251 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.01704, allocations: 8 kB / 0.8251 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01704, allocations: 5.109 kB / 0.8251 GB, free: 3.332 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01704, allocations: 3.938 kB / 0.8251 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01733, allocations: 380.1 kB / 0.8255 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.01737, allocations: 31.89 kB / 0.8255 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01739, allocations: 8 kB / 0.8255 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.01748, allocations: 13.03 kB / 0.8255 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.0175, allocations: 11.98 kB / 0.8255 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01751, allocations: 11.94 kB / 0.8255 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.907e-05/0.01759, allocations: 178.4 kB / 0.8257 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01759, allocations: 0 / 0.8257 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002332/0.01783, allocations: 63.94 kB / 0.8258 GB, free: 2.621 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.0001344/0.01796, allocations: 111.3 kB / 0.8259 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.01839, allocations: 363.5 kB / 0.8262 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0184, allocations: 0 / 0.8262 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.01847, allocations: 68.31 kB / 0.8263 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.01873, allocations: 33.62 kB / 0.8263 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.01974, allocations: 0.5432 MB / 0.8268 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.325e-05/0.0198, allocations: 112.2 kB / 0.8269 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.235e-05/0.01989, allocations: 45.91 kB / 0.827 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.01994, allocations: 20.48 kB / 0.827 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of SimCode: time 1.212e-06/0.01994, allocations: 0 / 0.827 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of Templates: time 0.004966/0.02491, allocations: 2.929 MB / 0.8299 GB, free: 14.37 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.173142730258405]