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.001362/0.001362, allocations: 111 kB / 16.46 MB, free: 6.453 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.001561/0.001561, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 8.945 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 3.267/3.267, allocations: 0.4899 GB / 0.7915 GB, free: 33.5 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.002111/0.002111, allocations: 68.81 kB / 1.149 GB, free: 25.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3813, allocations: 176.1 MB / 1.321 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005395/0.3867, allocations: 3.141 MB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.3898, allocations: 1.772 MB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.39, allocations: 8 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.3912, allocations: 346.6 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.3917, allocations: 215.1 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.3921, allocations: 176 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.3926, allocations: 323 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.393, allocations: 192.7 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.3932, allocations: 135.6 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.3936, allocations: 179.4 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.3936, allocations: 20 kB / 1.328 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.394, allocations: 243.5 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3941, allocations: 111.7 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3943, allocations: 119.4 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.3949, allocations: 422.5 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3949, allocations: 8 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3949, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.3949, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 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.001061/0.3959, allocations: 0.5493 MB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.396, allocations: 11.98 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.3967, allocations: 96.64 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.3971, allocations: 269.8 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.3971, allocations: 20.75 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3972, allocations: 20.56 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.3979, allocations: 373.1 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3979, allocations: 0 / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.3979, allocations: 15.98 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.398, allocations: 32.41 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.3985, allocations: 305.5 kB / 1.33 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.4005, allocations: 1.526 MB / 1.332 GB, free: 7.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.401, allocations: 222.9 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.4012, allocations: 100.8 kB / 1.332 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.4013, allocations: 89.09 kB / 1.332 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4014, allocations: 38.56 kB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.4014, allocations: 0 / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001398/0.4028, allocations: 0.7901 MB / 1.333 GB, free: 6.574 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4028, allocations: 59.33 kB / 1.333 GB, free: 6.504 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.403, allocations: 196 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.4031, allocations: 25.7 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4032, allocations: 164.2 kB / 1.333 GB, free: 6.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.4033, allocations: 83.25 kB / 1.333 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4034, allocations: 61.69 kB / 1.333 GB, free: 5.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.4036, allocations: 330.7 kB / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.4037, allocations: 111.9 kB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.404, allocations: 170.2 kB / 1.334 GB, free: 5.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.4044, allocations: 295.5 kB / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4044, allocations: 0 / 1.334 GB, free: 5.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008004/0.4052, allocations: 419.9 kB / 1.335 GB, free: 4.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4052, allocations: 8 kB / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4052, allocations: 0 / 1.335 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.4057, allocations: 101 kB / 1.335 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.4059, allocations: 55.89 kB / 1.335 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.4082, allocations: 1.872 MB / 1.337 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.4084, allocations: 23.94 kB / 1.337 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.4084, allocations: 8 kB / 1.337 GB, free: 2.398 MB / 1.029 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.0001831/0.4086, allocations: 164.1 kB / 1.337 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.4086, allocations: 19.86 kB / 1.337 GB, free: 2.211 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.4092, allocations: 296.9 kB / 1.337 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4092, allocations: 4 kB / 1.337 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.4092, allocations: 0 / 1.337 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4092, allocations: 3.938 kB / 1.337 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.4102, allocations: 0.6991 MB / 1.338 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4102, allocations: 0 / 1.338 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.4105, allocations: 63.89 kB / 1.338 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4105, allocations: 0 / 1.338 GB, free: 1.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4105, allocations: 11.94 kB / 1.338 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4105, allocations: 0 / 1.338 GB, free: 1.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4105, allocations: 7.984 kB / 1.338 GB, free: 1.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.4113, allocations: 0.5146 MB / 1.338 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4114, allocations: 116.9 kB / 1.338 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4114, allocations: 12.06 kB / 1.338 GB, free: 396 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4116, allocations: 15.98 kB / 1.338 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.4116, allocations: 11.92 kB / 1.338 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.4117, allocations: 12.05 kB / 1.338 GB, free: 356 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001502/0.4118, allocations: 148.1 kB / 1.339 GB, free: 204 kB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4118, allocations: 0 / 1.339 GB, free: 204 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003642/0.4122, allocations: 64 kB / 1.339 GB, free: 140 kB / 1.029 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.0001883/0.4124, allocations: 115.1 kB / 1.339 GB, free: 12 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008257/0.4132, allocations: 410.7 kB / 1.339 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4132, allocations: 0 / 1.339 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.4134, allocations: 107.9 kB / 1.339 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.4137, allocations: 47.78 kB / 1.339 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.415, allocations: 0.6254 MB / 1.34 GB, free: 14.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.4155, allocations: 0.7714 MB / 1.341 GB, free: 13.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.4156, allocations: 61.89 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.4157, allocations: 19.42 kB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4157, allocations: 0 / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of Templates: time 0.007163/0.4229, allocations: 2.876 MB / 1.344 GB, free: 11.05 MB / 1.045 GB " [Timeout remaining time 300] 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/jenkins/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: 9.288749114144593]