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.001818/0.001818, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002237/0.002237, allocations: 193.3 kB / 22.17 MB, free: 5.211 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.515/1.515, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.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.641/2.641, allocations: 443.5 MB / 0.732 GB, free: 12.49 MB / 0.5919 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.00205/0.00205, allocations: 63.89 kB / 1.061 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8938/0.8959, allocations: 160.7 MB / 1.218 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004614/0.9005, allocations: 2.581 MB / 1.221 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.902, allocations: 0.8087 MB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.9022, allocations: 3.219 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.9035, allocations: 0.5489 MB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.9039, allocations: 106.9 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.9042, allocations: 105.3 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.9045, allocations: 212.1 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.9049, allocations: 125.5 kB / 1.223 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.905, allocations: 88.58 kB / 1.223 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.9053, allocations: 106.7 kB / 1.223 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.9053, allocations: 12.59 kB / 1.223 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.9055, allocations: 111.5 kB / 1.223 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.9056, allocations: 59.59 kB / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.9057, allocations: 67.27 kB / 1.223 GB, free: 488 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.9061, allocations: 229.5 kB / 1.223 GB, free: 336 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9061, allocations: 0 / 1.223 GB, free: 336 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9061, allocations: 3.938 kB / 1.223 GB, free: 332 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9061, allocations: 1.156 kB / 1.223 GB, free: 332 kB / 0.92 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.0008249/0.9069, allocations: 460.4 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.907, allocations: 10.47 kB / 1.224 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.9074, allocations: 45.2 kB / 1.224 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.9077, allocations: 216.5 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.9077, allocations: 9.719 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.9077, allocations: 9.906 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.9081, allocations: 241.9 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9081, allocations: 1.375 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.9082, allocations: 5.188 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.9082, allocations: 12.16 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.9085, allocations: 151 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.9097, allocations: 1.132 MB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.9098, allocations: 39.16 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.9098, allocations: 15.27 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.9098, allocations: 4 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.9099, allocations: 39.83 kB / 1.226 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 4.498e-06/0.9099, allocations: 3.984 kB / 1.226 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002149/0.9101, allocations: 75.56 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.9101, allocations: 56.5 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.9103, allocations: 178.9 kB / 1.226 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.9103, allocations: 26.83 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.9104, allocations: 144 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.9105, allocations: 18.12 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.9105, allocations: 36.03 kB / 1.226 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9107, allocations: 317.4 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.181e-05/0.9107, allocations: 24.28 kB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.9108, allocations: 105 kB / 1.226 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.911, allocations: 121 kB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.911, allocations: 0 / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002151/0.9112, allocations: 138 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9112, allocations: 6.469 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9112, allocations: 2.969 kB / 1.227 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.9113, allocations: 7 kB / 1.227 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.9114, allocations: 27.67 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.9114, allocations: 3.969 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.9115, allocations: 13.08 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.9115, allocations: 10.53 kB / 1.227 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000113/0.9116, allocations: 121.9 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.511e-05/0.9117, allocations: 90.03 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001438/0.9118, allocations: 124 kB / 1.227 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.9118, allocations: 5.219 kB / 1.227 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002127/0.912, allocations: 133.9 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.9121, allocations: 6.469 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.9121, allocations: 1.406 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.9121, allocations: 3.906 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.9121, allocations: 19.34 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.9122, allocations: 23.41 kB / 1.227 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.9122, allocations: 15.7 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.9122, allocations: 7 kB / 1.227 GB, free: 12.5 MB / 0.9356 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.0001121/0.9123, allocations: 183 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.9124, allocations: 8.891 kB / 1.227 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.9124, allocations: 11.94 kB / 1.227 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9124, allocations: 5.156 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9124, allocations: 0 / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.9124, allocations: 3.984 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.9129, allocations: 479.3 kB / 1.228 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.9129, allocations: 3.938 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.913, allocations: 6.812 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.913, allocations: 1.406 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.913, allocations: 1.312 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.913, allocations: 9.438 kB / 1.228 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.913, allocations: 5.25 kB / 1.228 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.9131, allocations: 110.9 kB / 1.228 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.9132, allocations: 98.44 kB / 1.228 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.9132, allocations: 5.422 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.519e-05/0.9133, allocations: 5.344 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.9133, allocations: 6.609 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.9133, allocations: 1.312 kB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001024/0.9134, allocations: 129.6 kB / 1.228 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9134, allocations: 3.938 kB / 1.228 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003589/0.9137, allocations: 52.55 kB / 1.228 GB, free: 11.45 MB / 0.9356 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.0001248/0.9139, allocations: 98.61 kB / 1.228 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.9141, allocations: 113.3 kB / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9141, allocations: 0 / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.9141, allocations: 14.39 kB / 1.229 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.9144, allocations: 24.92 kB / 1.229 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.915, allocations: 285.3 kB / 1.229 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.9154, allocations: 0.725 MB / 1.23 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.52e-05/0.9155, allocations: 30.73 kB / 1.23 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.9155, allocations: 12.56 kB / 1.23 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9155, allocations: 1.094 kB / 1.23 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.004187/0.9197, allocations: 0.9221 MB / 1.231 GB, free: 9.867 MB / 0.9356 GB " [Timeout remaining time 299] 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 -s gbode -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: 8.819475607946515]