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.001822/0.001822, 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.0024/0.0024, allocations: 219.2 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.21/3.21, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 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.002086/0.002086, allocations: 72.48 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.396, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006498/0.4025, allocations: 3.087 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003492/0.406, allocations: 1.702 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.4062, allocations: 7.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.4075, allocations: 330.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.4082, allocations: 211.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.4088, allocations: 188 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.4094, allocations: 315 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.4098, allocations: 173.4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.4101, allocations: 155.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.4105, allocations: 151.5 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.4105, allocations: 23.94 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.4109, allocations: 219.5 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.4111, allocations: 107.8 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4112, allocations: 99.53 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.4119, allocations: 430.5 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4119, allocations: 3.984 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4119, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4119, allocations: 0 / 1.333 GB, free: 10.73 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.001074/0.413, allocations: 485.3 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.413, allocations: 8.031 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007468/0.4138, allocations: 96.69 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.4142, allocations: 206.1 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.4142, allocations: 16.75 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.4143, allocations: 24.56 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.4151, allocations: 428.1 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4151, allocations: 3.938 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.4151, allocations: 11.98 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.4152, allocations: 36.34 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.4157, allocations: 309.5 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.4175, allocations: 1.031 MB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.418, allocations: 213.7 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.4182, allocations: 112.7 kB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.4183, allocations: 11.98 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.4183, allocations: 34.5 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.4183, allocations: 4 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001427/0.4198, allocations: 0.7231 MB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.4198, allocations: 51.41 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.42, allocations: 190.7 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4201, allocations: 25.7 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4202, allocations: 164.5 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.4203, allocations: 71.41 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4204, allocations: 57.7 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4205, allocations: 326.8 kB / 1.338 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.4207, allocations: 111.9 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.421, allocations: 177.9 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.4214, allocations: 300 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4214, allocations: 0 / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008303/0.4223, allocations: 414 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4223, allocations: 7.938 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4223, allocations: 7.984 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.4227, allocations: 100.9 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.423, allocations: 51.91 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.4252, allocations: 1.741 MB / 1.341 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4254, allocations: 15.98 kB / 1.341 GB, free: 2.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4254, allocations: 12.06 kB / 1.341 GB, free: 2.844 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.0002004/0.4256, allocations: 161.7 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.4257, allocations: 15.91 kB / 1.341 GB, free: 2.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.4263, allocations: 301.1 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4263, allocations: 4 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4263, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4263, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.4273, allocations: 0.6128 MB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4273, allocations: 0 / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4276, allocations: 55.89 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4276, allocations: 4 kB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.4276, allocations: 11.94 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4276, allocations: 0 / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4276, allocations: 3.938 kB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.4283, allocations: 0.5164 MB / 1.342 GB, free: 1.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4284, allocations: 31.92 kB / 1.342 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.4285, allocations: 16.11 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4286, allocations: 11.98 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4287, allocations: 19.86 kB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.4287, allocations: 8 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001415/0.4288, allocations: 140.2 kB / 1.342 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4288, allocations: 0 / 1.342 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000424/0.4293, allocations: 64 kB / 1.342 GB, free: 0.8047 MB / 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.0001703/0.4294, allocations: 107.2 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008614/0.4303, allocations: 405.3 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4303, allocations: 4 kB / 1.343 GB, free: 284 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4305, allocations: 107.9 kB / 1.343 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.4309, allocations: 39.14 kB / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4322, allocations: 0.6734 MB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.4324, allocations: 161.2 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.4325, allocations: 27.42 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4325, allocations: 0 / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of Templates: time 0.007244/0.4397, allocations: 3.654 MB / 1.348 GB, free: 11.57 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/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: 12.219299874268472]