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.001714/0.001714, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001859/0.001859, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.746/2.746, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] 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.001923/0.001923, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3589, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004466/0.3634, allocations: 2.592 MB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3649, allocations: 0.8064 MB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.365, allocations: 7.938 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.3664, allocations: 0.5452 MB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3666, allocations: 103.5 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.367, allocations: 119.7 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.3672, allocations: 191.4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.3676, allocations: 122.1 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3677, allocations: 91.67 kB / 1.221 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3679, allocations: 99.64 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3679, allocations: 12 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3681, allocations: 115.8 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.3682, allocations: 51.88 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.425e-05/0.3683, allocations: 83.55 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3686, allocations: 219.2 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3686, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3686, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.3686, allocations: 0 / 1.221 GB, free: 10.19 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.0007247/0.3694, allocations: 451 kB / 1.222 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3694, allocations: 8.031 kB / 1.222 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.3698, allocations: 48.8 kB / 1.222 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3701, allocations: 216.2 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3701, allocations: 12.66 kB / 1.222 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3701, allocations: 16.36 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3705, allocations: 227.2 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3705, allocations: 0 / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.3705, allocations: 12 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.3706, allocations: 20.2 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.3708, allocations: 144.7 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.3721, allocations: 1.131 MB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.3721, allocations: 38.5 kB / 1.223 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.3722, allocations: 16.86 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3722, allocations: 0 / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3722, allocations: 34.64 kB / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3722, allocations: 0 / 1.223 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002133/0.3724, allocations: 85.53 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.3725, allocations: 55.34 kB / 1.224 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.3727, allocations: 175 kB / 1.224 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3727, allocations: 25.7 kB / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.3728, allocations: 143.7 kB / 1.224 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3728, allocations: 19.78 kB / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.3729, allocations: 41.66 kB / 1.224 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.373, allocations: 314.8 kB / 1.224 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.3731, allocations: 28.84 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.3732, allocations: 85.42 kB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3733, allocations: 133.2 kB / 1.224 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3733, allocations: 0 / 1.224 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002174/0.3735, allocations: 133.4 kB / 1.225 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3736, allocations: 8 kB / 1.225 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3736, allocations: 320 / 1.225 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3736, allocations: 11.94 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3737, allocations: 27.92 kB / 1.225 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3737, allocations: 4 kB / 1.225 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.3738, allocations: 19.89 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.3738, allocations: 4 kB / 1.225 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001161/0.3739, allocations: 124.1 kB / 1.225 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.197e-05/0.374, allocations: 93.31 kB / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001429/0.3741, allocations: 121.3 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.3741, allocations: 0 / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001977/0.3743, allocations: 141.8 kB / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3744, allocations: 4 kB / 1.225 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.3744, allocations: 4 kB / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-06/0.3744, allocations: 4 kB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.3744, allocations: 23.94 kB / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3745, allocations: 11.92 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.3745, allocations: 15.89 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3745, allocations: 4 kB / 1.225 GB, free: 5.551 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.0001247/0.3746, allocations: 188.5 kB / 1.225 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3747, allocations: 7.953 kB / 1.225 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3747, allocations: 16.88 kB / 1.225 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3747, allocations: 3.938 kB / 1.225 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3747, allocations: 0 / 1.225 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3747, allocations: 3.984 kB / 1.225 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.3752, allocations: 481.1 kB / 1.226 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3752, allocations: 0 / 1.226 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.3753, allocations: 8 kB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3753, allocations: 0 / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3753, allocations: 0 / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3753, allocations: 7.938 kB / 1.226 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3753, allocations: 0 / 1.226 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.3754, allocations: 115.7 kB / 1.226 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3755, allocations: 93.02 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3755, allocations: 3.938 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.3756, allocations: 4 kB / 1.226 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.3756, allocations: 7.922 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3756, allocations: 8 kB / 1.226 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001042/0.3757, allocations: 128 kB / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3757, allocations: 0 / 1.226 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00034/0.376, allocations: 51.89 kB / 1.226 GB, free: 4.32 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.0001241/0.3762, allocations: 99.19 kB / 1.226 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3764, allocations: 112.8 kB / 1.226 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3764, allocations: 4.062 kB / 1.226 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.3764, allocations: 15.92 kB / 1.226 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3767, allocations: 23.98 kB / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.3772, allocations: 278.7 kB / 1.227 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3776, allocations: 0.7283 MB / 1.227 GB, free: 3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.052e-05/0.3777, allocations: 24.62 kB / 1.228 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.3777, allocations: 19.42 kB / 1.228 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.3777, allocations: 0 / 1.228 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.003767/0.3815, allocations: 0.9023 MB / 1.228 GB, free: 2.062 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.659863634966314]