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.001549/0.001549, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001814/0.001814, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.953/2.953, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 176.1 MB / 1.322 GB, free: 25.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004283/1.218, allocations: 3.13 MB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002455/1.221, allocations: 1.783 MB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/1.221, allocations: 8.688 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/1.222, allocations: 344.7 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/1.223, allocations: 208.8 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/1.223, allocations: 184.3 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000466/1.223, allocations: 317.8 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/1.224, allocations: 189.3 kB / 1.328 GB, free: 21.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/1.224, allocations: 145.2 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/1.224, allocations: 172.6 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/1.225, allocations: 24.62 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/1.225, allocations: 245.3 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/1.225, allocations: 111.4 kB / 1.329 GB, free: 20.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/1.225, allocations: 122.5 kB / 1.329 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/1.226, allocations: 415.9 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.226, allocations: 0 / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/1.226, allocations: 1.188 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.226, allocations: 0 / 1.329 GB, free: 20.77 MB / 1.061 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.001111/1.227, allocations: 0.5574 MB / 1.33 GB, free: 20.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.227, allocations: 13.23 kB / 1.33 GB, free: 20.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008313/1.228, allocations: 96.98 kB / 1.33 GB, free: 20.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/1.228, allocations: 259.2 kB / 1.33 GB, free: 20.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.228, allocations: 17.11 kB / 1.33 GB, free: 20.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.228, allocations: 30.23 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/1.229, allocations: 376.5 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/1.229, allocations: 0.6094 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/1.229, allocations: 11.09 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.229, allocations: 26.73 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/1.23, allocations: 308.6 kB / 1.331 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/1.232, allocations: 1.525 MB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/1.232, allocations: 215.9 kB / 1.332 GB, free: 18.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/1.232, allocations: 105.9 kB / 1.333 GB, free: 18.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/1.232, allocations: 86.16 kB / 1.333 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.232, allocations: 40.88 kB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/1.232, allocations: 3.984 kB / 1.333 GB, free: 18.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001401/1.234, allocations: 0.7888 MB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.234, allocations: 57.73 kB / 1.333 GB, free: 17.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/1.234, allocations: 195.5 kB / 1.334 GB, free: 17.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.234, allocations: 30.61 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/1.234, allocations: 158.6 kB / 1.334 GB, free: 17.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/1.234, allocations: 79.19 kB / 1.334 GB, free: 17.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.234, allocations: 57.02 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/1.234, allocations: 332.8 kB / 1.334 GB, free: 16.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/1.235, allocations: 110.6 kB / 1.334 GB, free: 16.85 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.235, allocations: 172 kB / 1.335 GB, free: 16.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/1.235, allocations: 309.2 kB / 1.335 GB, free: 16.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.235, allocations: 0.5938 kB / 1.335 GB, free: 16.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009752/1.236, allocations: 416 kB / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.236, allocations: 7.531 kB / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.236, allocations: 6.25 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/1.237, allocations: 96.58 kB / 1.335 GB, free: 16.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/1.237, allocations: 51.22 kB / 1.335 GB, free: 16.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.239, allocations: 1.876 MB / 1.337 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/1.239, allocations: 20.36 kB / 1.337 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/1.239, allocations: 12.56 kB / 1.337 GB, free: 14.78 MB / 1.061 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.0001704/1.239, allocations: 153.5 kB / 1.337 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/1.239, allocations: 23.77 kB / 1.337 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/1.24, allocations: 301.2 kB / 1.338 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.24, allocations: 2.828 kB / 1.338 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/1.24, allocations: 0 / 1.338 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.24, allocations: 6.391 kB / 1.338 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/1.241, allocations: 0.6963 MB / 1.338 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.241, allocations: 2.312 kB / 1.338 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/1.241, allocations: 58.22 kB / 1.338 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.241, allocations: 1.375 kB / 1.338 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.241, allocations: 11.48 kB / 1.339 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.241, allocations: 1.375 kB / 1.339 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.241, allocations: 2.312 kB / 1.339 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/1.242, allocations: 0.5158 MB / 1.339 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.242, allocations: 127.4 kB / 1.339 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.242, allocations: 3.734 kB / 1.339 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/1.242, allocations: 13.86 kB / 1.339 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/1.242, allocations: 9.859 kB / 1.339 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/1.242, allocations: 13.92 kB / 1.339 GB, free: 13.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001417/1.242, allocations: 142.7 kB / 1.339 GB, free: 13.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.242, allocations: 0 / 1.339 GB, free: 13.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004182/1.243, allocations: 66.8 kB / 1.339 GB, free: 13.48 MB / 1.061 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.0001562/1.243, allocations: 109.5 kB / 1.339 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007813/1.244, allocations: 411.1 kB / 1.34 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.244, allocations: 0 / 1.34 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/1.244, allocations: 115.1 kB / 1.34 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/1.244, allocations: 38.34 kB / 1.34 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/1.246, allocations: 0.6773 MB / 1.341 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/1.246, allocations: 0.7695 MB / 1.341 GB, free: 11.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.283e-05/1.246, allocations: 23.11 kB / 1.341 GB, free: 11.98 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/1.246, allocations: 0 / 1.341 GB, free: 11.98 MB / 1.061 GB Notification: Performance of Templates: time 0.008198/1.254, allocations: 3.613 MB / 1.345 GB, free: 11.68 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.011967095997534]