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.001331/0.001331, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00206/0.003391, allocations: 440 kB / 10.41 MB, free: 284 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.0007625/0.0007625, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009936/0.001756, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9865/0.9865, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.096, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.452/2.452, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3298/2.782, allocations: 146 MB / 0.8176 GB, free: 3.836 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 2.034e-06/2.034e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.745e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003772/0.00379, allocations: 2.599 MB / 0.8215 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.0053, allocations: 1.273 MB / 0.8227 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.005401, allocations: 4 kB / 0.8227 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.005747, allocations: 119.3 kB / 0.8228 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.005976, allocations: 206.9 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.006225, allocations: 155.5 kB / 0.8232 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.00653, allocations: 358.8 kB / 0.8235 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.006773, allocations: 178.3 kB / 0.8237 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.007014, allocations: 215.5 kB / 0.8239 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.007255, allocations: 163.5 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.007286, allocations: 20 kB / 0.8241 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.00749, allocations: 167.6 kB / 0.8242 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.25e-05/0.007573, allocations: 99.77 kB / 0.8243 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.007638, allocations: 75.81 kB / 0.8244 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.007932, allocations: 271.1 kB / 0.8246 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.007944, allocations: 7.922 kB / 0.8246 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007945, allocations: 0 / 0.8246 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.007966, allocations: 0 / 0.8246 GB, free: 12.62 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.0006452/0.008611, allocations: 0.4997 MB / 0.8251 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.008644, allocations: 8.031 kB / 0.8251 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004685/0.009113, allocations: 189.8 kB / 0.8253 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.009321, allocations: 191.8 kB / 0.8255 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.009334, allocations: 16.86 kB / 0.8255 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.0094, allocations: 28.55 kB / 0.8255 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.009768, allocations: 279.7 kB / 0.8258 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.009779, allocations: 192 / 0.8258 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.009799, allocations: 16.12 kB / 0.8258 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.009858, allocations: 24.48 kB / 0.8259 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.009988, allocations: 91.36 kB / 0.8259 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.01074, allocations: 0.8301 MB / 0.8268 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.01093, allocations: 160.1 kB / 0.8269 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.01097, allocations: 42.09 kB / 0.8269 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.01103, allocations: 8 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.01105, allocations: 34.56 kB / 0.827 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.01105, allocations: 0 / 0.827 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0005416/0.01159, allocations: 367.3 kB / 0.8273 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.01162, allocations: 59.34 kB / 0.8274 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.01172, allocations: 178.5 kB / 0.8276 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.01173, allocations: 29.7 kB / 0.8276 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.0118, allocations: 160.5 kB / 0.8277 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.01184, allocations: 79.28 kB / 0.8278 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.0119, allocations: 57.62 kB / 0.8279 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.01198, allocations: 334.8 kB / 0.8282 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.01202, allocations: 24 kB / 0.8282 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.01209, allocations: 89.94 kB / 0.8283 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.01222, allocations: 162.6 kB / 0.8285 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01223, allocations: 0 / 0.8285 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002714/0.0125, allocations: 200.1 kB / 0.8286 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01251, allocations: 4 kB / 0.8287 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01252, allocations: 4 kB / 0.8287 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.01287, allocations: 119.7 kB / 0.8288 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01299, allocations: 51.91 kB / 0.8288 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009032/0.0139, allocations: 1.351 MB / 0.8301 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.01398, allocations: 4 kB / 0.8301 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01399, allocations: 11.98 kB / 0.8302 GB, free: 6.586 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 8.476e-05/0.01408, allocations: 124.6 kB / 0.8303 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.01411, allocations: 11.98 kB / 0.8303 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.0143, allocations: 145.9 kB / 0.8304 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.0143, allocations: 12.03 kB / 0.8304 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.0143, allocations: 0 / 0.8304 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01431, allocations: 0 / 0.8304 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.01466, allocations: 404.2 kB / 0.8308 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01466, allocations: 0 / 0.8308 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.01486, allocations: 67.94 kB / 0.8309 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.01491, allocations: 31.78 kB / 0.8309 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01491, allocations: 4 kB / 0.8309 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01492, allocations: 4.062 kB / 0.8309 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01492, allocations: 8 kB / 0.8309 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01492, allocations: 0 / 0.8309 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.01514, allocations: 309.8 kB / 0.8312 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01515, allocations: 4 kB / 0.8312 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.77e-05/0.01522, allocations: 8 kB / 0.8312 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.01524, allocations: 15.95 kB / 0.8313 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01525, allocations: 4 kB / 0.8313 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.01529, allocations: 45.81 kB / 0.8313 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01529, allocations: 0 / 0.8313 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001876/0.01548, allocations: 71.94 kB / 0.8314 GB, free: 5.27 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.0001264/0.0156, allocations: 100.3 kB / 0.8315 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.01592, allocations: 275 kB / 0.8317 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.01593, allocations: 4 kB / 0.8317 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.016, allocations: 65.44 kB / 0.8318 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01628, allocations: 257.5 kB / 0.832 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.0185, allocations: 0.512 MB / 0.8325 GB, free: 3.961 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.01866, allocations: 100.3 kB / 0.8326 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.168e-05/0.01873, allocations: 29.94 kB / 0.8327 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01884, allocations: 83.3 kB / 0.8327 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.01884, allocations: 0 / 0.8327 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.004705/0.02355, allocations: 3.061 MB / 0.8357 GB, free: 0.7031 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.367310023866594]