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.001414/0.001414, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001618/0.001618, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.789 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.861/2.861, allocations: 475.9 MB / 0.7699 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.002194/0.002194, allocations: 69.02 kB / 1.117 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3647, allocations: 169.9 MB / 1.283 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005569/0.3703, allocations: 3.104 MB / 1.286 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.3736, allocations: 1.687 MB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.3738, allocations: 7.938 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.375, allocations: 333 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006573/0.3757, allocations: 215.1 kB / 1.288 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.3762, allocations: 187.5 kB / 1.288 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.3767, allocations: 319 kB / 1.289 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.3771, allocations: 172.9 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.3774, allocations: 139.6 kB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.3778, allocations: 163.4 kB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3779, allocations: 24 kB / 1.289 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.3784, allocations: 219.5 kB / 1.289 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3785, allocations: 111.7 kB / 1.289 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3787, allocations: 99.53 kB / 1.29 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007119/0.3794, allocations: 426.5 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3794, allocations: 4 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3794, allocations: 0 / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3794, allocations: 3.984 kB / 1.29 GB, free: 12.58 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.001121/0.3805, allocations: 481.4 kB / 1.29 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3806, allocations: 12.03 kB / 1.29 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.3813, allocations: 92.69 kB / 1.291 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.3818, allocations: 206.1 kB / 1.291 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3818, allocations: 16.75 kB / 1.291 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.3819, allocations: 32.52 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.3826, allocations: 432.1 kB / 1.291 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3826, allocations: 0 / 1.291 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3826, allocations: 4 kB / 1.291 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3827, allocations: 28.42 kB / 1.291 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.3833, allocations: 305.5 kB / 1.292 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.3851, allocations: 1.05 MB / 1.293 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.3855, allocations: 206.5 kB / 1.293 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3857, allocations: 109 kB / 1.293 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.3858, allocations: 15.89 kB / 1.293 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3859, allocations: 34.56 kB / 1.293 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3859, allocations: 0 / 1.293 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001378/0.3872, allocations: 0.7252 MB / 1.294 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3873, allocations: 55.41 kB / 1.294 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3875, allocations: 191.9 kB / 1.294 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3875, allocations: 29.7 kB / 1.294 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3876, allocations: 164.5 kB / 1.294 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.3877, allocations: 75.36 kB / 1.294 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.3878, allocations: 53.7 kB / 1.294 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3879, allocations: 326.8 kB / 1.294 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3881, allocations: 115.9 kB / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.3884, allocations: 162.5 kB / 1.295 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.3888, allocations: 304.8 kB / 1.295 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3888, allocations: 4 kB / 1.295 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008043/0.3896, allocations: 410 kB / 1.295 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3896, allocations: 15.88 kB / 1.295 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3896, allocations: 0 / 1.295 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.3901, allocations: 100.8 kB / 1.296 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3903, allocations: 43.97 kB / 1.296 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.3925, allocations: 1.749 MB / 1.297 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.3927, allocations: 15.98 kB / 1.297 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3927, allocations: 8 kB / 1.297 GB, free: 4.707 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.0001938/0.3929, allocations: 162.3 kB / 1.297 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.393, allocations: 19.86 kB / 1.297 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.3935, allocations: 299.2 kB / 1.298 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3935, allocations: 3.984 kB / 1.298 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3935, allocations: 0 / 1.298 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3935, allocations: 4 kB / 1.298 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000993/0.3945, allocations: 0.6051 MB / 1.298 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3945, allocations: 0 / 1.298 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3948, allocations: 59.89 kB / 1.298 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3948, allocations: 3.938 kB / 1.298 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3949, allocations: 8 kB / 1.298 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3949, allocations: 0 / 1.298 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3949, allocations: 4 kB / 1.298 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.3955, allocations: 0.5222 MB / 1.299 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3957, allocations: 35.88 kB / 1.299 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.3957, allocations: 7.984 kB / 1.299 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3959, allocations: 16.08 kB / 1.299 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3959, allocations: 15.92 kB / 1.299 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3959, allocations: 8 kB / 1.299 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001388/0.3961, allocations: 139.2 kB / 1.299 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3961, allocations: 0 / 1.299 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003909/0.3965, allocations: 68 kB / 1.299 GB, free: 2.66 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.0001667/0.3966, allocations: 107.2 kB / 1.299 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.3974, allocations: 409.9 kB / 1.3 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.3974, allocations: 0 / 1.3 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.3976, allocations: 111.8 kB / 1.3 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.398, allocations: 42 kB / 1.3 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3994, allocations: 0.6354 MB / 1.3 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.3995, allocations: 157.2 kB / 1.301 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.3997, allocations: 53.91 kB / 1.301 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.3998, allocations: 27.44 kB / 1.301 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3998, allocations: 0 / 1.301 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of Templates: time 0.007391/0.4072, allocations: 3 MB / 1.304 GB, free: 14.1 MB / 1.014 GB " [Timeout remaining time 300] 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/jenkins/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: 8.992658451199532]