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.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.001395/0.001395, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001645/0.001645, allocations: 220.3 kB / 23 MB, free: 4.914 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476 MB / 0.7707 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002134/0.002134, allocations: 67.16 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3781, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005255/0.3834, allocations: 3.087 MB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3866, allocations: 1.695 MB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.3867, allocations: 4 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.3878, allocations: 338.7 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.3884, allocations: 211.1 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3889, allocations: 186.5 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.3893, allocations: 323 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.3896, allocations: 169 kB / 1.29 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.3899, allocations: 151.5 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.3902, allocations: 163.4 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.3902, allocations: 20 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.3906, allocations: 219.6 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3907, allocations: 107.6 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3908, allocations: 103.6 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.3914, allocations: 418.5 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3914, allocations: 4 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3914, allocations: 0 / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3914, allocations: 0 / 1.291 GB, free: 4.844 MB / 0.9825 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.0009997/0.3924, allocations: 497.2 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3925, allocations: 8.031 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.3932, allocations: 92.69 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3936, allocations: 204 kB / 1.292 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3936, allocations: 16.81 kB / 1.292 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3937, allocations: 32.5 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.3943, allocations: 428.1 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3944, allocations: 0 / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3944, allocations: 12 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.3945, allocations: 32.39 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.395, allocations: 305.5 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3967, allocations: 1.039 MB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.3971, allocations: 206.4 kB / 1.294 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3973, allocations: 113 kB / 1.294 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.3974, allocations: 7.906 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3974, allocations: 42.48 kB / 1.294 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.3974, allocations: 0 / 1.294 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.3987, allocations: 0.7134 MB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3987, allocations: 59.34 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3989, allocations: 195.9 kB / 1.295 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.399, allocations: 29.7 kB / 1.295 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3991, allocations: 168.5 kB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.3992, allocations: 71.38 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.3993, allocations: 53.7 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3994, allocations: 326.8 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3996, allocations: 111.9 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3998, allocations: 166.5 kB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.4002, allocations: 304.1 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4002, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00076/0.401, allocations: 413.5 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.401, allocations: 8.125 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.401, allocations: 8 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.4014, allocations: 96.75 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.4017, allocations: 47.91 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.4037, allocations: 1.745 MB / 1.298 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4039, allocations: 20 kB / 1.298 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.4039, allocations: 12 kB / 1.298 GB, free: 12.96 MB / 0.9981 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.0001642/0.4041, allocations: 158.2 kB / 1.298 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.4041, allocations: 23.92 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.4046, allocations: 301.5 kB / 1.299 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4046, allocations: 4 kB / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.4046, allocations: 0 / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4046, allocations: 0 / 1.299 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.4055, allocations: 0.6149 MB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4055, allocations: 0 / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4058, allocations: 60.02 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4058, allocations: 4 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4058, allocations: 0 / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4058, allocations: 4 kB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4058, allocations: 0 / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.4065, allocations: 0.5163 MB / 1.3 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.4066, allocations: 43.86 kB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.4067, allocations: 8 kB / 1.3 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.4068, allocations: 7.984 kB / 1.3 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4069, allocations: 19.91 kB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.4069, allocations: 8.062 kB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001375/0.407, allocations: 147.2 kB / 1.3 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.407, allocations: 0 / 1.3 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003565/0.4074, allocations: 64 kB / 1.3 GB, free: 10.91 MB / 0.9981 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.0001579/0.4075, allocations: 107.2 kB / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007313/0.4083, allocations: 406.5 kB / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4083, allocations: 0 / 1.3 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4084, allocations: 115.9 kB / 1.301 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.4088, allocations: 33.86 kB / 1.301 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.41, allocations: 0.6761 MB / 1.301 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.4102, allocations: 165.2 kB / 1.301 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.4103, allocations: 19.44 kB / 1.301 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.4103, allocations: 4 kB / 1.301 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.006246/0.4165, allocations: 3.668 MB / 1.305 GB, free: 5.66 MB / 0.9981 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 [Calling sys.exit(0), Time elapsed: 11.770841881167144]