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.001292/0.001292, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001299/0.001299, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.45/1.45, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.694/2.694, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 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.001988/0.001988, allocations: 63.89 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3226, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004239/0.3269, allocations: 2.513 MB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3284, allocations: 0.7712 MB / 1.179 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3285, allocations: 8 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.3298, allocations: 0.5334 MB / 1.18 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3302, allocations: 107.5 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3305, allocations: 111.7 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3308, allocations: 195.4 kB / 1.18 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.3312, allocations: 170 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3313, allocations: 83.7 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.3315, allocations: 95.64 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.3316, allocations: 12 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.3318, allocations: 115.8 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.3319, allocations: 51.89 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.25e-05/0.332, allocations: 79.59 kB / 1.181 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.3323, allocations: 227.1 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3323, allocations: 4 kB / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3323, allocations: 0 / 1.181 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3324, allocations: 0 / 1.181 GB, free: 0.8086 MB / 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.0007306/0.3331, allocations: 447 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3331, allocations: 12.03 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.3335, allocations: 44.8 kB / 1.181 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3338, allocations: 220.2 kB / 1.181 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3338, allocations: 12.64 kB / 1.181 GB, free: 0 / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.3339, allocations: 12.42 kB / 1.181 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3343, allocations: 231.2 kB / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3343, allocations: 0 / 1.182 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.3344, allocations: 8 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.3344, allocations: 20.27 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.3347, allocations: 140.7 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.3361, allocations: 1.135 MB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3362, allocations: 50.48 kB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.3362, allocations: 20.86 kB / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.3363, allocations: 0 / 1.183 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3363, allocations: 34.5 kB / 1.183 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3363, allocations: 3.938 kB / 1.183 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002462/0.3366, allocations: 85.61 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.3366, allocations: 51.41 kB / 1.183 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3368, allocations: 165.2 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.3369, allocations: 29.7 kB / 1.183 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.337, allocations: 159.5 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.337, allocations: 15.89 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.3371, allocations: 29.67 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3373, allocations: 322.8 kB / 1.184 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.3373, allocations: 28.84 kB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3375, allocations: 89.44 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3376, allocations: 125.3 kB / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3376, allocations: 0 / 1.184 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002176/0.3379, allocations: 137.4 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3379, allocations: 10.34 kB / 1.184 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3379, allocations: 4 kB / 1.184 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3379, allocations: 7.938 kB / 1.184 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3381, allocations: 23.92 kB / 1.184 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3381, allocations: 4 kB / 1.184 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3382, allocations: 19.89 kB / 1.184 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3382, allocations: 4.312 kB / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001277/0.3383, allocations: 128.1 kB / 1.184 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001051/0.3384, allocations: 89.38 kB / 1.185 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000159/0.3386, allocations: 121.3 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.3386, allocations: 0 / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002018/0.3388, allocations: 133.4 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3388, allocations: 8 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3388, allocations: 4 kB / 1.185 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.3388, allocations: 4 kB / 1.185 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.3389, allocations: 24.23 kB / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.339, allocations: 15.88 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.346e-05/0.339, allocations: 11.89 kB / 1.185 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.339, allocations: 12 kB / 1.185 GB, free: 12.16 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.0001473/0.3392, allocations: 180.3 kB / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.3392, allocations: 11.94 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.3393, allocations: 16.94 kB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3393, allocations: 3.938 kB / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3393, allocations: 0 / 1.185 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3393, allocations: 4.281 kB / 1.185 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.3398, allocations: 469 kB / 1.185 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3399, allocations: 8 kB / 1.185 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.3399, allocations: 4 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3399, allocations: 7.922 kB / 1.186 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3399, allocations: 8.109 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3399, allocations: 4 kB / 1.186 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3399, allocations: 3.938 kB / 1.186 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.3401, allocations: 111.6 kB / 1.186 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.3402, allocations: 97 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3402, allocations: 4 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.3403, allocations: 0 / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.3403, allocations: 8 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3403, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000131/0.3404, allocations: 132.9 kB / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3404, allocations: 0 / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003724/0.3408, allocations: 51.89 kB / 1.186 GB, free: 10.93 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.0001578/0.341, allocations: 103.1 kB / 1.186 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3412, allocations: 115.7 kB / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3412, allocations: 0 / 1.186 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.3413, allocations: 17.19 kB / 1.186 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3416, allocations: 27.55 kB / 1.186 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.3423, allocations: 316.8 kB / 1.186 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3427, allocations: 0.7202 MB / 1.187 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.3427, allocations: 15.44 kB / 1.187 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of SimCode: time 2.725e-06/0.3427, allocations: 0 / 1.187 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.003497/0.3462, allocations: 1.47 MB / 1.189 GB, free: 8.078 MB / 0.9356 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: 10.469511962961406]