Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 103.4 kB / 18.18 MB, free: 4.133 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 189.9 kB / 21.34 MB, free: 0.9844 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.772/2.772, allocations: 476.7 MB / 0.7634 GB, free: 15.15 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=501,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 1.108 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005182/1.113, allocations: 3.132 MB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002997/1.116, allocations: 1.739 MB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/1.116, allocations: 8.188 kB / 1.277 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/1.117, allocations: 341 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006291/1.118, allocations: 211.6 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/1.119, allocations: 180.9 kB / 1.278 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/1.119, allocations: 319.7 kB / 1.278 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/1.12, allocations: 183.2 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/1.12, allocations: 142.5 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/1.12, allocations: 173.1 kB / 1.279 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/1.12, allocations: 24.81 kB / 1.279 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005639/1.121, allocations: 244.2 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/1.121, allocations: 105.7 kB / 1.279 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/1.121, allocations: 131.4 kB / 1.279 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/1.122, allocations: 421.4 kB / 1.28 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.122, allocations: 0.8438 kB / 1.28 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.122, allocations: 0 / 1.28 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.122, allocations: 0 / 1.28 GB, free: 3.598 MB / 0.9981 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.001028/1.123, allocations: 0.5549 MB / 1.28 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.123, allocations: 9.062 kB / 1.28 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/1.124, allocations: 101 kB / 1.28 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/1.124, allocations: 257.3 kB / 1.28 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.124, allocations: 13.25 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/1.124, allocations: 30.08 kB / 1.28 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/1.125, allocations: 381.1 kB / 1.281 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.125, allocations: 0 / 1.281 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/1.125, allocations: 6.875 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/1.125, allocations: 30.7 kB / 1.281 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/1.126, allocations: 305.2 kB / 1.281 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/1.127, allocations: 1.528 MB / 1.283 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/1.128, allocations: 216.3 kB / 1.283 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/1.128, allocations: 103.2 kB / 1.283 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/1.128, allocations: 88.33 kB / 1.283 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/1.128, allocations: 41.72 kB / 1.283 GB, free: 1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/1.128, allocations: 0 / 1.283 GB, free: 1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001342/1.129, allocations: 0.7897 MB / 1.284 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.129, allocations: 53.62 kB / 1.284 GB, free: 468 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/1.13, allocations: 195.7 kB / 1.284 GB, free: 332 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.13, allocations: 36.98 kB / 1.284 GB, free: 292 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/1.13, allocations: 168.4 kB / 1.284 GB, free: 140 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/1.13, allocations: 66.33 kB / 1.284 GB, free: 88 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.13, allocations: 56.91 kB / 1.284 GB, free: 52 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.13, allocations: 332.8 kB / 1.285 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/1.13, allocations: 119.5 kB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.131, allocations: 168.5 kB / 1.285 GB, free: 15.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/1.131, allocations: 300.6 kB / 1.285 GB, free: 15.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.131, allocations: 0 / 1.285 GB, free: 15.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008577/1.132, allocations: 412.6 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.132, allocations: 8.906 kB / 1.286 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.132, allocations: 11.2 kB / 1.286 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/1.132, allocations: 98.39 kB / 1.286 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/1.133, allocations: 52.55 kB / 1.286 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/1.135, allocations: 1.871 MB / 1.288 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/1.135, allocations: 24.66 kB / 1.288 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/1.135, allocations: 12.34 kB / 1.288 GB, free: 13.62 MB / 1.014 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.0002146/1.136, allocations: 156.6 kB / 1.288 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.136, allocations: 16.64 kB / 1.288 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/1.136, allocations: 296.9 kB / 1.288 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.136, allocations: 7 kB / 1.288 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.136, allocations: 0.6094 kB / 1.288 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.136, allocations: 4.688 kB / 1.288 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/1.137, allocations: 0.7101 MB / 1.289 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.137, allocations: 0 / 1.289 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/1.138, allocations: 59.97 kB / 1.289 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.138, allocations: 0 / 1.289 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.138, allocations: 10.08 kB / 1.289 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.138, allocations: 4.703 kB / 1.289 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.138, allocations: 0 / 1.289 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/1.138, allocations: 0.5088 MB / 1.289 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.139, allocations: 122.8 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/1.139, allocations: 8.672 kB / 1.29 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.139, allocations: 13.55 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/1.139, allocations: 15.94 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/1.139, allocations: 3.422 kB / 1.29 GB, free: 12.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001724/1.139, allocations: 147.5 kB / 1.29 GB, free: 12.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.139, allocations: 0 / 1.29 GB, free: 12.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004113/1.139, allocations: 67.02 kB / 1.29 GB, free: 12.32 MB / 1.014 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.0001881/1.14, allocations: 110.8 kB / 1.29 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000826/1.14, allocations: 410.2 kB / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.14, allocations: 1.5 kB / 1.29 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/1.141, allocations: 108.1 kB / 1.29 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/1.141, allocations: 48.53 kB / 1.29 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/1.143, allocations: 0.6839 MB / 1.291 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/1.143, allocations: 0.7744 MB / 1.292 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/1.143, allocations: 24.8 kB / 1.292 GB, free: 10.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/1.143, allocations: 1.375 kB / 1.292 GB, free: 10.8 MB / 1.014 GB Notification: Performance of Templates: time 0.007634/1.151, allocations: 3.616 MB / 1.295 GB, free: 10.51 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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