Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 188.6 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 251 MB, free: 13.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|loa.S.2.",fileNamePrefix="Buildings_10_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.1.|loa.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.91 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 160.8 MB / 1.218 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005545/1.041, allocations: 3.196 MB / 1.222 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003208/1.044, allocations: 1.792 MB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/1.044, allocations: 7.938 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.045, allocations: 342.7 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005691/1.046, allocations: 219.1 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/1.047, allocations: 171.6 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/1.047, allocations: 323 kB / 1.224 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/1.047, allocations: 160.8 kB / 1.224 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/1.048, allocations: 143.5 kB / 1.225 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/1.048, allocations: 175.4 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/1.048, allocations: 24 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/1.049, allocations: 251.5 kB / 1.225 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/1.049, allocations: 103.7 kB / 1.225 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/1.049, allocations: 119.5 kB / 1.225 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006068/1.049, allocations: 421.3 kB / 1.226 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/1.049, allocations: 3.938 kB / 1.226 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.784e-06/1.049, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.049, allocations: 0 / 1.226 GB, free: 12.99 MB / 0.9356 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.001074/1.051, allocations: 0.5571 MB / 1.226 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.051, allocations: 12.03 kB / 1.226 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007403/1.051, allocations: 100.6 kB / 1.226 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.052, allocations: 250.2 kB / 1.227 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.052, allocations: 16.81 kB / 1.227 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.052, allocations: 32.48 kB / 1.227 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/1.052, allocations: 380.7 kB / 1.227 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.052, allocations: 0 / 1.227 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.053, allocations: 8 kB / 1.227 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.965e-05/1.053, allocations: 28.42 kB / 1.227 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/1.053, allocations: 305.5 kB / 1.227 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/1.055, allocations: 1.529 MB / 1.229 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/1.056, allocations: 225.6 kB / 1.229 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/1.056, allocations: 100.8 kB / 1.229 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/1.056, allocations: 89.09 kB / 1.229 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.056, allocations: 34.56 kB / 1.229 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/1.056, allocations: 0 / 1.229 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.00141/1.058, allocations: 0.7933 MB / 1.23 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/1.058, allocations: 59.36 kB / 1.23 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/1.058, allocations: 202.7 kB / 1.23 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/1.058, allocations: 25.7 kB / 1.23 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.058, allocations: 164.2 kB / 1.23 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/1.058, allocations: 71.38 kB / 1.231 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.058, allocations: 57.7 kB / 1.231 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.058, allocations: 326.8 kB / 1.231 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/1.058, allocations: 115.9 kB / 1.231 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.059, allocations: 167 kB / 1.231 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/1.059, allocations: 294.5 kB / 1.231 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.059, allocations: 0 / 1.231 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007599/1.06, allocations: 421.4 kB / 1.232 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.06, allocations: 4 kB / 1.232 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.06, allocations: 8.188 kB / 1.232 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004243/1.06, allocations: 96.75 kB / 1.232 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/1.061, allocations: 55.91 kB / 1.232 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/1.063, allocations: 1.875 MB / 1.234 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/1.063, allocations: 19.95 kB / 1.234 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/1.063, allocations: 8 kB / 1.234 GB, free: 4.055 MB / 0.9356 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.0001814/1.063, allocations: 163.8 kB / 1.234 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/1.063, allocations: 19.89 kB / 1.234 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/1.064, allocations: 301.9 kB / 1.234 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.064, allocations: 0 / 1.234 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.064, allocations: 11.88 kB / 1.234 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.064, allocations: 7.922 kB / 1.234 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.065, allocations: 0.6951 MB / 1.235 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.065, allocations: 0 / 1.235 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/1.065, allocations: 64.02 kB / 1.235 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.065, allocations: 0 / 1.235 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/1.065, allocations: 16 kB / 1.235 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.065, allocations: 7.938 kB / 1.235 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.065, allocations: 4 kB / 1.235 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/1.066, allocations: 0.5009 MB / 1.236 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.066, allocations: 129 kB / 1.236 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/1.066, allocations: 8 kB / 1.236 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/1.066, allocations: 11.98 kB / 1.236 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/1.066, allocations: 15.97 kB / 1.236 GB, free: 2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.066, allocations: 4 kB / 1.236 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001518/1.066, allocations: 148.6 kB / 1.236 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.066, allocations: 4 kB / 1.236 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000366/1.067, allocations: 63.94 kB / 1.236 GB, free: 1.781 MB / 0.9356 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.0001724/1.067, allocations: 113.5 kB / 1.236 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007539/1.068, allocations: 406.2 kB / 1.236 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.068, allocations: 0 / 1.236 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/1.068, allocations: 108.3 kB / 1.237 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/1.068, allocations: 46.47 kB / 1.237 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/1.069, allocations: 0.6336 MB / 1.237 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/1.07, allocations: 0.7675 MB / 1.238 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001525/1.07, allocations: 57.84 kB / 1.238 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/1.07, allocations: 23.42 kB / 1.238 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/1.07, allocations: 0 / 1.238 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of Templates: time 0.007306/1.077, allocations: 3.018 MB / 1.241 GB, free: 12.56 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.28617730177939]