Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001602/0.001602, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001835/0.001835, allocations: 218.3 kB / 23 MB, free: 4.918 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002098/0.002098, allocations: 70.31 kB / 1.154 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 176.1 MB / 1.326 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004662/0.3344, allocations: 2.522 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.336, allocations: 0.7636 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3361, allocations: 7.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.3376, allocations: 0.5424 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.3379, allocations: 103.5 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3383, allocations: 107.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.3386, allocations: 195.4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.3389, allocations: 138.1 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3391, allocations: 91.69 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3393, allocations: 91.7 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3393, allocations: 12 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3395, allocations: 103.7 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.3396, allocations: 55.83 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.3397, allocations: 59.73 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.34, allocations: 227.2 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.34, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.34, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.34, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 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.000662/0.3407, allocations: 377.9 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3407, allocations: 12.03 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.3411, allocations: 48.8 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3414, allocations: 154.3 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3414, allocations: 12.59 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.3415, allocations: 16.38 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3419, allocations: 265.2 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3419, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3419, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.3419, allocations: 16.28 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.3422, allocations: 152.6 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.3432, allocations: 0.7779 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.227e-05/0.3433, allocations: 38.56 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.3433, allocations: 20.94 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3434, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3434, allocations: 30.56 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3434, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002172/0.3436, allocations: 81.56 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3437, allocations: 55.34 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3438, allocations: 143.5 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3438, allocations: 25.7 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3439, allocations: 147.6 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.344, allocations: 27.75 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.344, allocations: 29.67 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3442, allocations: 322.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.3442, allocations: 32.84 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3444, allocations: 92.12 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.3445, allocations: 125.2 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3445, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000217/0.3447, allocations: 133.4 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3448, allocations: 13.7 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3448, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3448, allocations: 7.938 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3449, allocations: 23.94 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3449, allocations: 7.984 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.345, allocations: 20.2 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.345, allocations: 8 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000116/0.3451, allocations: 120.1 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001145/0.3452, allocations: 97.42 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001576/0.3454, allocations: 121.5 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3454, allocations: 0 / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002177/0.3456, allocations: 141.3 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.3456, allocations: 4 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3456, allocations: 4.312 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.3456, allocations: 8 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3457, allocations: 27.92 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3457, allocations: 7.938 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/0.3458, allocations: 4 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3458, allocations: 4 kB / 1.335 GB, free: 8.953 MB / 1.029 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.0001301/0.3459, allocations: 193.9 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.346, allocations: 7.953 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.346, allocations: 16.33 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.346, allocations: 3.938 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.346, allocations: 0 / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.346, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.3465, allocations: 404.8 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3465, allocations: 7.938 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.3465, allocations: 15.86 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3465, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3465, allocations: 4 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3465, allocations: 0 / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3465, allocations: 0 / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3467, allocations: 111.8 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3467, allocations: 19.88 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3467, allocations: 7.938 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.3468, allocations: 4 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.3468, allocations: 3.938 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3468, allocations: 4 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.3469, allocations: 109 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3469, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003731/0.3473, allocations: 55.84 kB / 1.336 GB, free: 7.91 MB / 1.029 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 9.741e-05/0.3474, allocations: 95.25 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3476, allocations: 107.7 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3476, allocations: 0 / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.3476, allocations: 25.3 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3479, allocations: 23.86 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.3484, allocations: 305.2 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3485, allocations: 106.2 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.3486, allocations: 15.44 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3486, allocations: 0 / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of Templates: time 0.003234/0.3518, allocations: 1.441 MB / 1.338 GB, free: 5.742 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.68375820433721]