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.001328/0.001328, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001459/0.001459, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.704/2.704, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.002035/0.002035, allocations: 64.36 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3214, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005257/0.3267, allocations: 3.222 MB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3299, allocations: 1.811 MB / 1.29 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3301, allocations: 7.938 kB / 1.29 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.3312, allocations: 346.7 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.3318, allocations: 215.1 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.3324, allocations: 187.5 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.3328, allocations: 319 kB / 1.291 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.3332, allocations: 173 kB / 1.291 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.3334, allocations: 143.5 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.3338, allocations: 175.4 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.3338, allocations: 20 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004463/0.3342, allocations: 255.5 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3344, allocations: 99.72 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3345, allocations: 123.4 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006087/0.3351, allocations: 426.5 kB / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3351, allocations: 0 / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3351, allocations: 0 / 1.292 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3351, allocations: 0 / 1.292 GB, free: 3.793 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.001032/0.3362, allocations: 485.4 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3362, allocations: 8.031 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.337, allocations: 100.7 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3373, allocations: 202.1 kB / 1.293 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3373, allocations: 16.81 kB / 1.293 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.3375, allocations: 28.5 kB / 1.293 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.3381, allocations: 384.7 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3381, allocations: 0 / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3381, allocations: 8 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.78e-05/0.3382, allocations: 28.42 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.3387, allocations: 305.5 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.3408, allocations: 1.487 MB / 1.295 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.3412, allocations: 226.6 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3414, allocations: 101.1 kB / 1.295 GB, free: 228 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3415, allocations: 15.89 kB / 1.295 GB, free: 212 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3416, allocations: 34.56 kB / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.3416, allocations: 0 / 1.295 GB, free: 168 kB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001361/0.3429, allocations: 0.7212 MB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.343, allocations: 51.41 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3432, allocations: 207.1 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3432, allocations: 25.7 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3434, allocations: 168.1 kB / 1.296 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.3434, allocations: 71.42 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3435, allocations: 57.66 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3437, allocations: 330.8 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3439, allocations: 115.9 kB / 1.297 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.3441, allocations: 169.9 kB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.3445, allocations: 285.9 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3445, allocations: 3.938 kB / 1.297 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007964/0.3453, allocations: 416.5 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3454, allocations: 15.97 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3454, allocations: 0 / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.3458, allocations: 96.75 kB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.346, allocations: 55.91 kB / 1.298 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.3482, allocations: 1.776 MB / 1.3 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3484, allocations: 19.92 kB / 1.3 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3485, allocations: 12 kB / 1.3 GB, free: 11.36 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.0001909/0.3486, allocations: 149.8 kB / 1.3 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3487, allocations: 19.86 kB / 1.3 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.3492, allocations: 303.3 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3492, allocations: 4 kB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.3492, allocations: 0 / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3492, allocations: 7.922 kB / 1.3 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3503, allocations: 0.673 MB / 1.301 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3503, allocations: 4.062 kB / 1.301 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.3506, allocations: 55.89 kB / 1.301 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3506, allocations: 4 kB / 1.301 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3506, allocations: 7.938 kB / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3506, allocations: 4 kB / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3506, allocations: 0 / 1.301 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.3513, allocations: 0.525 MB / 1.301 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.3514, allocations: 47.8 kB / 1.301 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.3514, allocations: 0 / 1.301 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3516, allocations: 16.05 kB / 1.301 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3516, allocations: 15.97 kB / 1.301 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3516, allocations: 8 kB / 1.301 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001441/0.3518, allocations: 144.1 kB / 1.302 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3518, allocations: 0 / 1.302 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003978/0.3522, allocations: 71.94 kB / 1.302 GB, free: 9.227 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.0001607/0.3524, allocations: 103.2 kB / 1.302 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007523/0.3531, allocations: 406.4 kB / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3531, allocations: 0 / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3533, allocations: 120.2 kB / 1.302 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3537, allocations: 35.86 kB / 1.302 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.355, allocations: 0.6605 MB / 1.303 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3554, allocations: 0.7753 MB / 1.304 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.3555, allocations: 23.42 kB / 1.304 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3555, allocations: 0 / 1.304 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of Templates: time 0.00639/0.3619, allocations: 3.624 MB / 1.307 GB, free: 3.406 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: 12.88057093898533]