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.001456/0.001456, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001577/0.001577, allocations: 154.5 kB / 23.01 MB, free: 4.961 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.539/1.539, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.864/2.864, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002084/0.002084, allocations: 68.03 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.27, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004296/1.274, allocations: 2.531 MB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001327/1.276, allocations: 0.7502 MB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/1.276, allocations: 6.531 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/1.277, allocations: 0.5427 MB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000237/1.277, allocations: 107.3 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/1.277, allocations: 112.5 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/1.278, allocations: 194.4 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/1.278, allocations: 138.9 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/1.278, allocations: 88.34 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/1.278, allocations: 92.66 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/1.278, allocations: 14.78 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/1.279, allocations: 98.91 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/1.279, allocations: 57.3 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/1.279, allocations: 65.31 kB / 1.159 GB, free: 30.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/1.279, allocations: 226.3 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.279, allocations: 3.281 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.354e-06/1.279, allocations: 0 / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.279, allocations: 0 / 1.159 GB, free: 30.34 MB / 1.076 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.0006793/1.28, allocations: 369.4 kB / 1.159 GB, free: 30.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.28, allocations: 16.14 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004079/1.28, allocations: 45.94 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/1.281, allocations: 162.7 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/1.281, allocations: 18.2 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/1.281, allocations: 14.69 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/1.281, allocations: 254.8 kB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/1.281, allocations: 0 / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/1.281, allocations: 10.69 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/1.281, allocations: 15.31 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/1.281, allocations: 145.9 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/1.282, allocations: 0.7781 MB / 1.161 GB, free: 28.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/1.282, allocations: 41.34 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/1.282, allocations: 18.23 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/1.282, allocations: 3.219 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/1.282, allocations: 38.56 kB / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.282, allocations: 0 / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0002107/1.283, allocations: 78.36 kB / 1.161 GB, free: 28.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/1.283, allocations: 55.34 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/1.283, allocations: 152.5 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/1.283, allocations: 25.7 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/1.283, allocations: 147 kB / 1.161 GB, free: 28.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/1.283, allocations: 22.06 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/1.283, allocations: 33.92 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/1.283, allocations: 317.6 kB / 1.161 GB, free: 28.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/1.283, allocations: 30.44 kB / 1.161 GB, free: 28.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/1.283, allocations: 85.52 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/1.283, allocations: 131 kB / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.283, allocations: 0 / 1.162 GB, free: 27.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001876/1.283, allocations: 131.2 kB / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.283, allocations: 6.125 kB / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.283, allocations: 6.781 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.283, allocations: 2.844 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.284, allocations: 22.75 kB / 1.162 GB, free: 27.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/1.284, allocations: 13.95 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/1.284, allocations: 17.2 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.284, allocations: 7.844 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.165e-05/1.284, allocations: 117.7 kB / 1.162 GB, free: 27.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.462e-05/1.284, allocations: 88.69 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001149/1.284, allocations: 119.8 kB / 1.162 GB, free: 27.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/1.284, allocations: 2.875 kB / 1.162 GB, free: 27.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001647/1.284, allocations: 131.9 kB / 1.162 GB, free: 27.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/1.284, allocations: 13.08 kB / 1.162 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/1.284, allocations: 6.781 kB / 1.162 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/1.284, allocations: 6.031 kB / 1.162 GB, free: 27.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/1.284, allocations: 30.66 kB / 1.162 GB, free: 27.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/1.284, allocations: 2.969 kB / 1.162 GB, free: 27.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/1.284, allocations: 6.719 kB / 1.162 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/1.284, allocations: 6 kB / 1.162 GB, free: 27.36 MB / 1.076 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 6.705e-05/1.284, allocations: 198.1 kB / 1.163 GB, free: 27.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/1.284, allocations: 7.047 kB / 1.163 GB, free: 27.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/1.284, allocations: 14.75 kB / 1.163 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/1.284, allocations: 0 / 1.163 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.284, allocations: 7.922 kB / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.284, allocations: 0 / 1.163 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/1.285, allocations: 400.5 kB / 1.163 GB, free: 26.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.285, allocations: 6.297 kB / 1.163 GB, free: 26.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.065e-05/1.285, allocations: 13.66 kB / 1.163 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.285, allocations: 4.125 kB / 1.163 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.285, allocations: 2.719 kB / 1.163 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.285, allocations: 0 / 1.163 GB, free: 26.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.285, allocations: 6.938 kB / 1.163 GB, free: 26.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.74e-05/1.285, allocations: 113.6 kB / 1.163 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/1.285, allocations: 13.92 kB / 1.163 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/1.285, allocations: 7.422 kB / 1.163 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/1.285, allocations: 2.719 kB / 1.163 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/1.285, allocations: 3 kB / 1.163 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/1.285, allocations: 0 / 1.163 GB, free: 26.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.703e-05/1.285, allocations: 109.2 kB / 1.163 GB, free: 26.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.285, allocations: 4 kB / 1.163 GB, free: 26.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003288/1.285, allocations: 61.41 kB / 1.163 GB, free: 26.53 MB / 1.076 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 8.389e-05/1.285, allocations: 98.55 kB / 1.163 GB, free: 26.44 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001843/1.286, allocations: 112.7 kB / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.286, allocations: 384 / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/1.286, allocations: 23.78 kB / 1.164 GB, free: 26.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.286, allocations: 22.64 kB / 1.164 GB, free: 26.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/1.286, allocations: 269.7 kB / 1.164 GB, free: 26.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/1.286, allocations: 119.8 kB / 1.164 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.967e-05/1.286, allocations: 28.27 kB / 1.164 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/1.286, allocations: 14.38 kB / 1.164 GB, free: 26.08 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.286, allocations: 0 / 1.164 GB, free: 26.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003581/1.29, allocations: 0.7771 MB / 1.165 GB, free: 25.94 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.688450968940742]