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.001758/0.001758, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001971/0.001971, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.576/1.576, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.712/2.712, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] 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.001966/0.001966, allocations: 71.89 kB / 1.059 GB, free: 288 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4024, allocations: 160.7 MB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001969/0.4043, allocations: 0.666 MB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4054, allocations: 0.8157 MB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.4054, allocations: 0 / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.4055, allocations: 4 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.4055, allocations: 7.875 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.4057, allocations: 11.98 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.4058, allocations: 27.86 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4059, allocations: 0 / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.4059, allocations: 15.97 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.406, allocations: 11.94 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.406, allocations: 4 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-06/0.406, allocations: 0 / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.406, allocations: 3.984 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.4061, allocations: 15.94 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.985e-05/0.4061, allocations: 23.84 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4062, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4062, allocations: 0 / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4062, allocations: 0 / 1.218 GB, free: 13.63 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.0005235/0.4067, allocations: 335.5 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4067, allocations: 12.03 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.4068, allocations: 0.9375 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.4069, allocations: 180.2 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4069, allocations: 4.375 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.407, allocations: 384 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4071, allocations: 50.23 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4072, allocations: 192 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4072, allocations: 3.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4072, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.4073, allocations: 31.97 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.4077, allocations: 253 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4079, allocations: 42.42 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.4079, allocations: 20.91 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.408, allocations: 0 / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.408, allocations: 34.56 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.408, allocations: 4 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.4084, allocations: 81.58 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.4084, allocations: 55.41 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4085, allocations: 101.8 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4086, allocations: 25.7 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.4086, allocations: 80.27 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.4086, allocations: 7.953 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4087, allocations: 17.72 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4088, allocations: 314.8 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.4089, allocations: 11.98 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.409, allocations: 19.98 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4091, allocations: 40.89 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4091, allocations: 3.938 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.4093, allocations: 73.48 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4094, allocations: 8 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4094, allocations: 3.938 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4094, allocations: 0 / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4095, allocations: 7.984 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4095, allocations: 4.031 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.4095, allocations: 7.984 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4096, allocations: 4 kB / 1.22 GB, free: 11.6 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 0.0001077/0.4097, allocations: 117.7 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.4097, allocations: 0 / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.4099, allocations: 72.78 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4099, allocations: 7.969 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4099, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4099, allocations: 0 / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.4101, allocations: 161.6 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4101, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.4102, allocations: 15.98 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4102, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4102, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4102, allocations: 0 / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4102, allocations: 3.984 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4105, allocations: 163.5 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.4105, allocations: 81.25 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4105, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.4106, allocations: 11.98 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4107, allocations: 3.984 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.4107, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.4107, allocations: 83.31 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.4107, allocations: 3.938 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002097/0.4109, allocations: 4 kB / 1.22 GB, free: 10.78 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.0001621/0.4111, allocations: 99.23 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4113, allocations: 39.97 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4113, allocations: 4.062 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.4114, allocations: 11.98 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4117, allocations: 11.92 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.4121, allocations: 129.9 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4124, allocations: 0.6729 MB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.4124, allocations: 4 kB / 1.221 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.4125, allocations: 15.44 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/0.4125, allocations: 3.938 kB / 1.221 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.003386/0.4159, allocations: 435.5 kB / 1.222 GB, free: 9.309 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.763590008020401]