Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.00172/0.00172, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.002008/0.002008, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.48/1.48, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 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.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 1.057 GB, free: 1.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 160.7 MB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001882/0.31, allocations: 0.6699 MB / 1.215 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.3109, allocations: 0.8234 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.311, allocations: 0 / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.311, allocations: 4 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.3111, allocations: 3.938 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3112, allocations: 11.98 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.3113, allocations: 23.92 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3114, allocations: 8 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.3115, allocations: 4 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.3115, allocations: 15.91 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.3116, allocations: 4 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.3116, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3116, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.3116, allocations: 15.92 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.3117, allocations: 27.84 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3117, allocations: 0 / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3117, allocations: 0 / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3117, allocations: 0 / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005134/0.3123, allocations: 339.5 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3123, allocations: 8.031 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.3123, allocations: 4.891 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3125, allocations: 168.3 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3125, allocations: 4.375 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3125, allocations: 4.375 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3127, allocations: 54.22 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3127, allocations: 192 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3127, allocations: 3.938 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3127, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.3129, allocations: 35.95 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.3132, allocations: 248.9 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3133, allocations: 42.48 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.3134, allocations: 16.91 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3134, allocations: 4 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3135, allocations: 30.56 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3135, allocations: 4 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000377/0.3138, allocations: 85.58 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3139, allocations: 51.41 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.314, allocations: 97.86 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.314, allocations: 25.7 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.314, allocations: 84.12 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3141, allocations: 20.06 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3141, allocations: 9.719 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3142, allocations: 310.8 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.3143, allocations: 23.92 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.3144, allocations: 19.91 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3145, allocations: 40.89 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3145, allocations: 0 / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/0.3148, allocations: 81.48 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3148, allocations: 4 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3148, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3148, allocations: 0 / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.3149, allocations: 11.98 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3149, allocations: 4.031 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.3149, allocations: 4 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3149, allocations: 4 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.967e-05/0.315, allocations: 117.7 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.315, allocations: 4 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3153, allocations: 72.72 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3153, allocations: 4.031 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3153, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3153, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3155, allocations: 157.6 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3155, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3155, allocations: 7.984 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3155, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3155, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3155, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3155, allocations: 0 / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3158, allocations: 167.5 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.3158, allocations: 85.06 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3159, allocations: 3.984 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.3159, allocations: 4 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.316, allocations: 3.984 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.316, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.316, allocations: 87.44 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002185/0.3162, allocations: 8 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001341/0.3164, allocations: 99.39 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.3166, allocations: 35.95 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3166, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.3167, allocations: 23.98 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.317, allocations: 9.812 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.3173, allocations: 139.6 kB / 1.218 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3176, allocations: 0.6806 MB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.3176, allocations: 7.438 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3176, allocations: 4 kB / 1.219 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Templates: time 0.002023/0.3197, allocations: 0.5461 MB / 1.22 GB, free: 10.77 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.781693537952378]