Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008326/0.0008326, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008244/0.0008244, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8756/0.8756, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.777/1.777, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.011e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002535/0.002556, allocations: 2.507 MB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.00339, allocations: 0.7439 MB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.003465, allocations: 7.938 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.004227, allocations: 0.5396 MB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.004403, allocations: 111.3 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.004581, allocations: 111.7 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.004765, allocations: 203.4 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.005002, allocations: 126.2 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.0051, allocations: 115.7 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.005282, allocations: 95.73 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.005301, allocations: 12 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.005412, allocations: 99.7 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.005464, allocations: 59.81 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.005507, allocations: 51.84 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.005718, allocations: 239.3 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.00572, allocations: 0 / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005721, allocations: 0 / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.005724, allocations: 0 / 1.006 GB, free: 8.023 MB / 0.9636 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.0004147/0.006139, allocations: 377.8 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.006168, allocations: 8.75 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.006392, allocations: 48.8 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.006554, allocations: 149.6 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.006566, allocations: 16.66 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.006582, allocations: 12.38 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.006833, allocations: 261.2 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006843, allocations: 192 / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006856, allocations: 4.375 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.006882, allocations: 24.2 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.007036, allocations: 144.7 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.007634, allocations: 0.7742 MB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.007696, allocations: 50.5 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.007719, allocations: 16.94 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.007728, allocations: 3.938 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.007746, allocations: 34.56 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007747, allocations: 3.938 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001392/0.007886, allocations: 73.62 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.007912, allocations: 55.34 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.007993, allocations: 152.1 kB / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.008002, allocations: 25.7 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.008061, allocations: 147.5 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.008072, allocations: 19.89 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.008106, allocations: 37.7 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.727e-05/0.008183, allocations: 322.8 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.008214, allocations: 24.84 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.008267, allocations: 85.44 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.192e-05/0.008359, allocations: 129.2 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008361, allocations: 4 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001219/0.008483, allocations: 125.4 kB / 1.009 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.008494, allocations: 8 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.008499, allocations: 4.312 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.008509, allocations: 8 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.008582, allocations: 31.92 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008586, allocations: 0 / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.008627, allocations: 15.89 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008634, allocations: 7.938 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.417e-05/0.008698, allocations: 124.1 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.014e-05/0.008748, allocations: 100 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.231e-05/0.008831, allocations: 121.3 kB / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.11e-07/0.008831, allocations: 0 / 1.009 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000112/0.008943, allocations: 137.5 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.008949, allocations: 8 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.00895, allocations: 0 / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.008953, allocations: 7.938 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.442e-05/0.008998, allocations: 24.27 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009, allocations: 7.938 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.009036, allocations: 15.89 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.00904, allocations: 4 kB / 1.009 GB, free: 3.973 MB / 0.9636 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 5.933e-05/0.009099, allocations: 188.4 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.009113, allocations: 11.95 kB / 1.01 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.009136, allocations: 16.33 kB / 1.01 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009138, allocations: 7.922 kB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009142, allocations: 4 kB / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.009144, allocations: 0 / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.00938, allocations: 404.8 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009381, allocations: 0 / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.009394, allocations: 4 kB / 1.01 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009396, allocations: 7.938 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.009402, allocations: 4.125 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.009406, allocations: 11.86 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.009408, allocations: 4 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.839e-05/0.009476, allocations: 103.7 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.009492, allocations: 7.953 kB / 1.01 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.009504, allocations: 7.984 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.759e-05/0.009522, allocations: 7.938 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.009534, allocations: 3.938 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.009537, allocations: 4 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.009583, allocations: 109.3 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009583, allocations: 4 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002245/0.009808, allocations: 59.78 kB / 1.01 GB, free: 2.934 MB / 0.9636 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 6.09e-05/0.009869, allocations: 95.25 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.009998, allocations: 104.6 kB / 1.01 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01, allocations: 320 / 1.01 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.01001, allocations: 20 kB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01018, allocations: 17.7 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.0105, allocations: 306.2 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.01056, allocations: 110.2 kB / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.01059, allocations: 12.5 kB / 1.011 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01059, allocations: 8.188 kB / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of Templates: time 0.001829/0.01242, allocations: 1.439 MB / 1.012 GB, free: 0.7656 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.49143566377461]