Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.001297/0.001297, allocations: 113.9 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.001258/0.001258, 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.523/1.523, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.714/2.714, allocations: 443.5 MB / 0.7304 GB, free: 13.86 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.059 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3835, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001985/0.3855, allocations: 0.6035 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3866, allocations: 0.8118 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.3866, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.3866, allocations: 3.938 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.3867, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.3868, allocations: 23.84 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.338e-05/0.3869, allocations: 19.88 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.185e-05/0.387, allocations: 7.984 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.3871, allocations: 8 kB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.3871, allocations: 11.92 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3872, allocations: 0 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.3872, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3872, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.3872, allocations: 3.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.71e-05/0.3873, allocations: 15.97 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3873, allocations: 0 / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3873, allocations: 0 / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3873, allocations: 8 kB / 1.218 GB, free: 13.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005175/0.3878, allocations: 331.4 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3879, allocations: 8.031 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.3879, allocations: 8.875 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3881, allocations: 172.4 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3881, allocations: 4.312 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3881, allocations: 384 / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3883, allocations: 34.25 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3883, allocations: 4.188 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3883, allocations: 7.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.3883, allocations: 0 / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.407e-05/0.3884, allocations: 11.98 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.3885, allocations: 153.6 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.3886, allocations: 30.55 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.3887, allocations: 16.91 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3887, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3887, allocations: 30.56 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3887, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002217/0.3889, allocations: 57.61 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.389, allocations: 51.41 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.3891, allocations: 101.9 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3891, allocations: 29.83 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.3891, allocations: 88.12 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3892, allocations: 3.953 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.3892, allocations: 17.66 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3893, allocations: 310.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.3894, allocations: 11.98 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.3894, allocations: 4 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.3895, allocations: 28.91 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3895, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/0.3896, allocations: 45.62 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3896, allocations: 4 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3896, allocations: 3.938 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3896, allocations: 0 / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.3897, allocations: 7.984 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3897, allocations: 3.938 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.3897, allocations: 8.031 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3897, allocations: 0 / 1.219 GB, free: 11.96 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 (1): * Single equations (assignments): 1 * 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 9.667e-05/0.3898, allocations: 109.8 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.3898, allocations: 4 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3899, allocations: 7.062 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3899, allocations: 3.984 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3899, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3899, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.39, allocations: 153.7 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.39, allocations: 4 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.39, allocations: 4.25 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.39, allocations: 3.938 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3901, allocations: 7.938 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3901, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3901, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3903, allocations: 73.06 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3903, allocations: 85.14 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3903, allocations: 3.938 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.3904, allocations: 3.938 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3904, allocations: 0 / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3904, allocations: 7.984 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.3905, allocations: 83.28 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3905, allocations: 0 / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001712/0.3906, allocations: 0 / 1.22 GB, free: 11.32 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 (1): * Single equations (assignments): 1 * 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.0001704/0.3908, allocations: 103.2 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.3909, allocations: 11.98 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3909, allocations: 4 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.391, allocations: 11.98 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.3911, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.3915, allocations: 134.4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.3919, allocations: 0.6769 MB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.3919, allocations: 3.984 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.392, allocations: 15.42 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.392, allocations: 0 / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.002947/0.3949, allocations: 291.1 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.565072666853666]