Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.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.001547/0.001547, allocations: 117.5 kB / 17.13 MB, free: 5.941 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.001607/0.001607, allocations: 198.2 kB / 20.08 MB, free: 3.008 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.485/1.485, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.624/2.624, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.91 kB / 1.057 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3578, allocations: 160.7 MB / 1.214 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005541/0.3633, allocations: 2.54 MB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.365, allocations: 0.7868 MB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.3652, allocations: 4 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3668, allocations: 0.5413 MB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.3672, allocations: 111.5 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.3676, allocations: 103.7 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.3681, allocations: 195.4 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.3685, allocations: 150.1 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3687, allocations: 83.69 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.369, allocations: 107.6 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.3691, allocations: 12 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.3694, allocations: 119.7 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3695, allocations: 55.83 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.3697, allocations: 83.64 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.3702, allocations: 219.2 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3702, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3703, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3703, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009804/0.3712, allocations: 447 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3713, allocations: 12.03 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004415/0.3717, allocations: 48.75 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.3721, allocations: 216.2 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3721, allocations: 8.656 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.3721, allocations: 24.3 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.3725, allocations: 227.3 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3726, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3726, allocations: 4 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.3726, allocations: 20.22 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.3729, allocations: 144.7 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.3743, allocations: 1.131 MB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3745, allocations: 42.56 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.3745, allocations: 12.86 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.3745, allocations: 0 / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.3746, allocations: 34.56 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3746, allocations: 0 / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002587/0.3748, allocations: 89.55 kB / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.3749, allocations: 51.41 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3751, allocations: 180.5 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3751, allocations: 25.7 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.3752, allocations: 151.6 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.3753, allocations: 11.84 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.809e-05/0.3753, allocations: 37.66 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3755, allocations: 318.8 kB / 1.222 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.3755, allocations: 32.84 kB / 1.222 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3757, allocations: 88.05 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3758, allocations: 129.2 kB / 1.222 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3758, allocations: 4 kB / 1.222 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002416/0.3761, allocations: 133.4 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3761, allocations: 8 kB / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3761, allocations: 320 / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3761, allocations: 12.17 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3763, allocations: 27.98 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3763, allocations: 7.938 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.377e-05/0.3763, allocations: 11.89 kB / 1.223 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3764, allocations: 11.94 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001315/0.3765, allocations: 124.1 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.898e-05/0.3766, allocations: 85.44 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001707/0.3768, allocations: 129.3 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.3768, allocations: 0 / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002291/0.377, allocations: 133.5 kB / 1.223 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.377, allocations: 8 kB / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.377, allocations: 3.984 kB / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.377, allocations: 4 kB / 1.223 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.3771, allocations: 23.94 kB / 1.223 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3771, allocations: 7.938 kB / 1.223 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.059e-05/0.3772, allocations: 19.88 kB / 1.223 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3772, allocations: 4 kB / 1.223 GB, free: 7.285 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001387/0.3774, allocations: 192.4 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.3774, allocations: 7.953 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.3775, allocations: 12.94 kB / 1.223 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3775, allocations: 3.938 kB / 1.223 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3775, allocations: 4 kB / 1.223 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3775, allocations: 0 / 1.223 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.3781, allocations: 469.1 kB / 1.224 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3781, allocations: 3.984 kB / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.3781, allocations: 11.94 kB / 1.224 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3781, allocations: 0 / 1.224 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3781, allocations: 4 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3782, allocations: 4 kB / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3782, allocations: 0 / 1.224 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.3783, allocations: 115.7 kB / 1.224 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.3784, allocations: 96.89 kB / 1.224 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3784, allocations: 4 kB / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.3785, allocations: 0 / 1.224 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.3785, allocations: 7.984 kB / 1.224 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3785, allocations: 8 kB / 1.224 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001163/0.3786, allocations: 124 kB / 1.224 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3786, allocations: 3.938 kB / 1.224 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003679/0.379, allocations: 55.89 kB / 1.224 GB, free: 6.055 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001177/0.3791, allocations: 99.19 kB / 1.224 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3794, allocations: 112.8 kB / 1.224 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3794, allocations: 0 / 1.224 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.3794, allocations: 23.92 kB / 1.224 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3797, allocations: 23.86 kB / 1.224 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.3803, allocations: 308.9 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3807, allocations: 0.7202 MB / 1.225 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3808, allocations: 11.44 kB / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of SimCode: time 7.82e-07/0.3808, allocations: 0 / 1.225 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of Templates: time 0.003875/0.3847, allocations: 1.481 MB / 1.227 GB, free: 3.211 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.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.01639370014891]