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.001472/0.001472, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001649/0.001649, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.914/2.914, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|loa.S.2.",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.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.644e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00661/0.006647, allocations: 3.066 MB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.01037, allocations: 1.669 MB / 0.8154 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.01061, allocations: 7.938 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.01197, allocations: 336.4 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.01274, allocations: 220.4 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006579/0.0134, allocations: 173.3 kB / 0.8161 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.01401, allocations: 326.8 kB / 0.8164 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.01446, allocations: 177.8 kB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004632/0.01492, allocations: 192.7 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.01537, allocations: 151.6 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.01543, allocations: 25.38 kB / 0.817 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005291/0.01596, allocations: 227.3 kB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.01615, allocations: 111.7 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.0163, allocations: 79.83 kB / 0.8174 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008965/0.0172, allocations: 440.2 kB / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01721, allocations: 0 / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01721, allocations: 0 / 0.8178 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.01722, allocations: 0 / 0.8178 GB, free: 10.94 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.001351/0.01857, allocations: 494.9 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.01861, allocations: 8.031 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009605/0.01957, allocations: 141.5 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.02, allocations: 205.8 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.02003, allocations: 20.81 kB / 0.8186 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.02014, allocations: 32.5 kB / 0.8186 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.02089, allocations: 424.9 kB / 0.819 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.02092, allocations: 192 / 0.819 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.02096, allocations: 18.41 kB / 0.8191 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.02108, allocations: 32.47 kB / 0.8191 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.02193, allocations: 301.8 kB / 0.8194 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.02394, allocations: 1.04 MB / 0.8204 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.02446, allocations: 216.3 kB / 0.8206 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.02466, allocations: 104.8 kB / 0.8207 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.02478, allocations: 8 kB / 0.8207 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.02482, allocations: 34.56 kB / 0.8207 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.02483, allocations: 2.156 kB / 0.8208 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.001603/0.02643, allocations: 0.7348 MB / 0.8215 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.02648, allocations: 55.41 kB / 0.8215 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.02673, allocations: 178.2 kB / 0.8217 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.02677, allocations: 33.7 kB / 0.8217 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.02694, allocations: 169.5 kB / 0.8219 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/0.02702, allocations: 75.31 kB / 0.822 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.02714, allocations: 49.7 kB / 0.822 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.02734, allocations: 331.5 kB / 0.8223 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.02755, allocations: 111.9 kB / 0.8224 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.02782, allocations: 171.5 kB / 0.8226 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.02831, allocations: 300.4 kB / 0.8229 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02831, allocations: 4 kB / 0.8229 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009314/0.02924, allocations: 418 kB / 0.8233 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.02926, allocations: 8 kB / 0.8233 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.02928, allocations: 7.984 kB / 0.8233 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008298/0.03011, allocations: 128.9 kB / 0.8234 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.03039, allocations: 55.84 kB / 0.8235 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.03286, allocations: 1.752 MB / 0.8252 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.0331, allocations: 16.48 kB / 0.8252 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.03313, allocations: 13.34 kB / 0.8252 GB, free: 2.965 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.0002071/0.03333, allocations: 157.8 kB / 0.8254 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.03341, allocations: 24.33 kB / 0.8254 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.034, allocations: 297.6 kB / 0.8257 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.03401, allocations: 4.656 kB / 0.8257 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.03401, allocations: 0 / 0.8257 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.03402, allocations: 2.031 kB / 0.8257 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.03541, allocations: 0.6088 MB / 0.8263 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03541, allocations: 0 / 0.8263 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.03577, allocations: 59.95 kB / 0.8263 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.03577, allocations: 2.188 kB / 0.8263 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.03579, allocations: 4 kB / 0.8263 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.03579, allocations: 0 / 0.8263 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.0358, allocations: 0 / 0.8263 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.03658, allocations: 0.5263 MB / 0.8268 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.0367, allocations: 35.84 kB / 0.8269 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.03674, allocations: 16.55 kB / 0.8269 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.03694, allocations: 13.55 kB / 0.8269 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.03698, allocations: 15.92 kB / 0.8269 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.03699, allocations: 7.938 kB / 0.8269 GB, free: 1.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001594/0.03715, allocations: 141.2 kB / 0.8271 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03715, allocations: 384 / 0.8271 GB, free: 0.9961 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004019/0.03756, allocations: 72 kB / 0.8271 GB, free: 0.9258 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.0002206/0.03778, allocations: 115.1 kB / 0.8272 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008569/0.03863, allocations: 394.2 kB / 0.8276 GB, free: 416 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.03864, allocations: 0 / 0.8276 GB, free: 416 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.03883, allocations: 118.1 kB / 0.8277 GB, free: 300 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.03924, allocations: 37.8 kB / 0.8278 GB, free: 264 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.04061, allocations: 0.5768 MB / 0.8283 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.04083, allocations: 165.2 kB / 0.8285 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.04102, allocations: 57.91 kB / 0.8285 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.0411, allocations: 24.48 kB / 0.8286 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of SimCode: time 7.41e-07/0.0411, allocations: 0 / 0.8286 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of Templates: time 0.007899/0.049, allocations: 2.792 MB / 0.8313 GB, free: 12.65 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.9207298289984465]