Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007878/0.0007878, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001858, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007571/0.0007571, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000965/0.001722, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9604/0.9604, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09041/1.051, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.308/2.308, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2518/2.56, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.608e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.0027/0.002716, allocations: 2.588 MB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004157, allocations: 1.281 MB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.004242, allocations: 7.938 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.004542, allocations: 111.5 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.004754, allocations: 202.8 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.004973, allocations: 167.5 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.005238, allocations: 358.8 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.005467, allocations: 170.3 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.005684, allocations: 215.5 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.00591, allocations: 163.6 kB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.005935, allocations: 20 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.00613, allocations: 175.5 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.006208, allocations: 95.77 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.006277, allocations: 67.88 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.006558, allocations: 275.1 kB / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.006571, allocations: 0 / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.006571, allocations: 0 / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.006584, allocations: 3.984 kB / 0.824 GB, free: 13.01 MB / 0.8073 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.0005983/0.007182, allocations: 0.4997 MB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.007212, allocations: 8.031 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.007659, allocations: 197.8 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.00786, allocations: 181.4 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.007875, allocations: 16.88 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.007946, allocations: 28.53 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.008228, allocations: 283.7 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008239, allocations: 192 / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.00826, allocations: 20.11 kB / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/0.008313, allocations: 24.48 kB / 0.8252 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.008429, allocations: 91.38 kB / 0.8253 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007369/0.009166, allocations: 0.834 MB / 0.8261 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.009351, allocations: 164 kB / 0.8263 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.009389, allocations: 28.86 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/0.009454, allocations: 15.98 kB / 0.8263 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.009475, allocations: 34.56 kB / 0.8264 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.009476, allocations: 0 / 0.8264 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0005537/0.01003, allocations: 359.7 kB / 0.8267 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.01006, allocations: 55.41 kB / 0.8267 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.01015, allocations: 178.5 kB / 0.8269 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.01017, allocations: 29.7 kB / 0.8269 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.01023, allocations: 156.5 kB / 0.8271 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.01027, allocations: 75.34 kB / 0.8272 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.01032, allocations: 61.62 kB / 0.8272 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.0104, allocations: 330.8 kB / 0.8275 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.01044, allocations: 31.98 kB / 0.8276 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.0105, allocations: 85.89 kB / 0.8277 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.01063, allocations: 146.8 kB / 0.8278 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01063, allocations: 4 kB / 0.8278 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002619/0.01089, allocations: 197 kB / 0.828 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01091, allocations: 8 kB / 0.828 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01091, allocations: 0 / 0.828 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003106/0.01122, allocations: 99.7 kB / 0.8281 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01134, allocations: 47.97 kB / 0.8281 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008537/0.0122, allocations: 1.352 MB / 0.8295 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.01228, allocations: 8 kB / 0.8295 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01229, allocations: 8 kB / 0.8295 GB, free: 7.016 MB / 0.8073 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 7.802e-05/0.01237, allocations: 128.6 kB / 0.8296 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.0124, allocations: 15.98 kB / 0.8296 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.01256, allocations: 150.2 kB / 0.8298 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01256, allocations: 0 / 0.8298 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01256, allocations: 4 kB / 0.8298 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01256, allocations: 7.922 kB / 0.8298 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.0129, allocations: 396.2 kB / 0.8301 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.0129, allocations: 4 kB / 0.8301 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.01309, allocations: 71.88 kB / 0.8302 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.01313, allocations: 35.78 kB / 0.8302 GB, free: 6.176 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01313, allocations: 4 kB / 0.8303 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.01314, allocations: 7.984 kB / 0.8303 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01315, allocations: 0 / 0.8303 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01315, allocations: 4 kB / 0.8303 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.01335, allocations: 310.2 kB / 0.8306 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.01337, allocations: 15.92 kB / 0.8306 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.01344, allocations: 4 kB / 0.8306 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.01346, allocations: 11.98 kB / 0.8306 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01347, allocations: 4 kB / 0.8306 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.0135, allocations: 45.81 kB / 0.8306 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0135, allocations: 0 / 0.8306 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001903/0.0137, allocations: 64 kB / 0.8307 GB, free: 5.691 MB / 0.8073 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.0001052/0.0138, allocations: 92.34 kB / 0.8308 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.01411, allocations: 278.2 kB / 0.831 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.01412, allocations: 4 kB / 0.8311 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.514e-05/0.01417, allocations: 56.72 kB / 0.8311 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.01437, allocations: 65.34 kB / 0.8312 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.01656, allocations: 0.5079 MB / 0.8317 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.01662, allocations: 104.3 kB / 0.8318 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.01669, allocations: 25.94 kB / 0.8318 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01679, allocations: 87.38 kB / 0.8319 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.01679, allocations: 0 / 0.8319 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of Templates: time 0.004385/0.02117, allocations: 3.025 MB / 0.8348 GB, free: 1.41 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.ref.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.139715541154146]