Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 110.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437.1 MB / 0.7177 GB, free: 4.555 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004797/0.3106, allocations: 3.092 MB / 1.179 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00287/0.3135, allocations: 1.706 MB / 1.181 GB, free: 1.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3136, allocations: 7.938 kB / 1.181 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3147, allocations: 341.9 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3153, allocations: 215.1 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.3157, allocations: 171.6 kB / 1.181 GB, free: 372 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.3161, allocations: 323 kB / 1.182 GB, free: 48 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.3166, allocations: 248.8 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3168, allocations: 143.5 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.3171, allocations: 159.5 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.3172, allocations: 24 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.3176, allocations: 235.6 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3177, allocations: 111.6 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3179, allocations: 115.5 kB / 1.183 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.3184, allocations: 422.5 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3184, allocations: 0 / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3184, allocations: 3.938 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3184, allocations: 0 / 1.183 GB, free: 14.61 MB / 0.9356 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.0009863/0.3194, allocations: 0.5532 MB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3195, allocations: 8.031 kB / 1.183 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000737/0.3202, allocations: 96.64 kB / 1.184 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3205, allocations: 260 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3206, allocations: 16.8 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.3207, allocations: 24.56 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.3213, allocations: 373.1 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3213, allocations: 7.984 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3213, allocations: 8 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-05/0.3214, allocations: 28.42 kB / 1.184 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.3219, allocations: 309.5 kB / 1.185 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.3238, allocations: 1.526 MB / 1.186 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3242, allocations: 238.4 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3244, allocations: 120.7 kB / 1.186 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.3246, allocations: 85.09 kB / 1.186 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3246, allocations: 42.5 kB / 1.186 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3246, allocations: 0 / 1.186 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.001312/0.3259, allocations: 0.7886 MB / 1.187 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.326, allocations: 59.36 kB / 1.187 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3262, allocations: 190.7 kB / 1.188 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3262, allocations: 25.7 kB / 1.188 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3263, allocations: 164.2 kB / 1.188 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.3264, allocations: 75.33 kB / 1.188 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3265, allocations: 53.69 kB / 1.188 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3267, allocations: 330.8 kB / 1.188 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3269, allocations: 115.9 kB / 1.188 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3271, allocations: 167.5 kB / 1.188 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.3275, allocations: 295.5 kB / 1.189 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3275, allocations: 0 / 1.189 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007787/0.3283, allocations: 423.8 kB / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3283, allocations: 9.719 kB / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3283, allocations: 0 / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.3288, allocations: 96.77 kB / 1.189 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.329, allocations: 59.89 kB / 1.189 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.3311, allocations: 1.879 MB / 1.191 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3314, allocations: 19.95 kB / 1.191 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3314, allocations: 12 kB / 1.191 GB, free: 5.633 MB / 0.9356 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.0001777/0.3316, allocations: 154.3 kB / 1.191 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.3317, allocations: 19.84 kB / 1.191 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005121/0.3322, allocations: 301.8 kB / 1.192 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3322, allocations: 4 kB / 1.192 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.3322, allocations: 0 / 1.192 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3322, allocations: 7.922 kB / 1.192 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009305/0.3331, allocations: 0.6992 MB / 1.192 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3332, allocations: 8.062 kB / 1.192 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.3335, allocations: 55.95 kB / 1.192 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3335, allocations: 0 / 1.192 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.3335, allocations: 15.92 kB / 1.192 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3335, allocations: 0 / 1.192 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3335, allocations: 4 kB / 1.192 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.3342, allocations: 0.5165 MB / 1.193 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3343, allocations: 116.9 kB / 1.193 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.3344, allocations: 4 kB / 1.193 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3346, allocations: 11.98 kB / 1.193 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.3346, allocations: 11.98 kB / 1.193 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3346, allocations: 11.94 kB / 1.193 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000151/0.3348, allocations: 148 kB / 1.193 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3348, allocations: 0 / 1.193 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003698/0.3352, allocations: 64 kB / 1.193 GB, free: 3.379 MB / 0.9356 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.0001779/0.3353, allocations: 119.2 kB / 1.193 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007576/0.3361, allocations: 434.2 kB / 1.194 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3361, allocations: 384 / 1.194 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3363, allocations: 130.1 kB / 1.194 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3367, allocations: 37.73 kB / 1.194 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3379, allocations: 0.6597 MB / 1.195 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3384, allocations: 0.7675 MB / 1.195 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.3384, allocations: 27.42 kB / 1.195 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.3385, allocations: 0 / 1.195 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.006094/0.3446, allocations: 3.618 MB / 1.199 GB, free: 13.52 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.04791733296588]