Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.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.001764/0.001764, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002125/0.002125, allocations: 215.5 kB / 22.99 MB, free: 4.945 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.719 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_11_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_11_Buildings.Electrical.DC.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.002104/0.002104, allocations: 68.31 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2949, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004317/0.2992, allocations: 2.529 MB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3007, allocations: 0.748 MB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.3008, allocations: 4 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.3021, allocations: 0.5414 MB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.3024, allocations: 107.5 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3027, allocations: 107.7 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.303, allocations: 199.4 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.3033, allocations: 138.1 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3035, allocations: 87.73 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3037, allocations: 99.62 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3037, allocations: 16 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.3039, allocations: 87.78 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.304, allocations: 63.8 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.3041, allocations: 59.73 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.3044, allocations: 227.1 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3044, allocations: 0 / 1.289 GB, free: 6.926 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006641/0.3051, allocations: 369.9 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3051, allocations: 8.031 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.3055, allocations: 52.81 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3057, allocations: 158.3 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3058, allocations: 12.64 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3058, allocations: 16.31 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.3062, allocations: 272.9 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3062, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3062, allocations: 4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.3063, allocations: 16.27 kB / 1.29 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3065, allocations: 148.7 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3075, allocations: 0.7857 MB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.184e-05/0.3076, allocations: 42.5 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.3076, allocations: 16.86 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3076, allocations: 0 / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3077, allocations: 30.56 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3077, allocations: 0 / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.3079, allocations: 73.72 kB / 1.291 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3079, allocations: 67.28 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3081, allocations: 151.4 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3081, allocations: 25.7 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3083, allocations: 147.6 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.3083, allocations: 15.84 kB / 1.291 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3083, allocations: 33.66 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3085, allocations: 322.8 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.3086, allocations: 28.84 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3087, allocations: 89.42 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3089, allocations: 121.3 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3089, allocations: 0 / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00023/0.3091, allocations: 137.4 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3091, allocations: 10.5 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3091, allocations: 0 / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3091, allocations: 4 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3093, allocations: 27.92 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3093, allocations: 7.938 kB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.3093, allocations: 15.89 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3094, allocations: 12.25 kB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001349/0.3095, allocations: 128.1 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001005/0.3096, allocations: 88.56 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001718/0.3098, allocations: 129.5 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3098, allocations: 0 / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002018/0.31, allocations: 133.4 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.31, allocations: 4 kB / 1.292 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.31, allocations: 7.984 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.31, allocations: 4 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.3101, allocations: 20.31 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3101, allocations: 11.94 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.3102, allocations: 11.92 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3102, allocations: 8 kB / 1.292 GB, free: 2.859 MB / 0.9825 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.0001224/0.3103, allocations: 180.3 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.3103, allocations: 7.953 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3104, allocations: 12.34 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3104, allocations: 0 / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3104, allocations: 3.938 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3104, allocations: 0 / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3109, allocations: 420.7 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3109, allocations: 0 / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.3109, allocations: 15.94 kB / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3109, allocations: 0 / 1.293 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3109, allocations: 4 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3109, allocations: 3.938 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3109, allocations: 0 / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.311, allocations: 111.6 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.3111, allocations: 23.88 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.3111, allocations: 4.125 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.3111, allocations: 0 / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.3112, allocations: 7.984 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3112, allocations: 4 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.774e-05/0.3113, allocations: 105.3 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3113, allocations: 3.938 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003458/0.3116, allocations: 55.84 kB / 1.293 GB, free: 1.828 MB / 0.9825 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.0001398/0.3117, allocations: 111.1 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.312, allocations: 99.89 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.312, allocations: 0 / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.312, allocations: 19.94 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.3123, allocations: 25.28 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.3129, allocations: 309 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.313, allocations: 114.2 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.313, allocations: 11.44 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of SimCode: time 4.8e-07/0.313, allocations: 4 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.003412/0.3164, allocations: 1.432 MB / 1.295 GB, free: 15.65 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.146492863073945]