Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.002383/0.002383, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.00325/0.00325, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.637e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001766/0.001792, allocations: 0.6747 MB / 0.8782 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003193, allocations: 0.8492 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.003224, allocations: 1.125 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.003244, allocations: 0 / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.003314, allocations: 6.016 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.003471, allocations: 13.05 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.003547, allocations: 29.11 kB / 0.8791 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.003636, allocations: 7.984 kB / 0.8791 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.559e-05/0.003712, allocations: 17.23 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.003753, allocations: 11.98 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003767, allocations: 0 / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.936e-05/0.003806, allocations: 9.438 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.003821, allocations: 4 kB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.003836, allocations: 0 / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003946, allocations: 39.81 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003948, allocations: 3.125 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003948, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003952, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 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.0004792/0.004431, allocations: 360.2 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.004466, allocations: 12.03 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.004579, allocations: 8.875 kB / 0.8795 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004701, allocations: 112.6 kB / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.004712, allocations: 384 / 0.8796 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.004725, allocations: 8.969 kB / 0.8796 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004861, allocations: 38.25 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.00487, allocations: 1.844 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.004878, allocations: 384 / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.004881, allocations: 384 / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.004997, allocations: 24.42 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.005356, allocations: 255.8 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.005467, allocations: 36.41 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.005545, allocations: 23.73 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.005565, allocations: 1.594 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.005603, allocations: 37.39 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005604, allocations: 0 / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.005891, allocations: 77.55 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.005938, allocations: 51.41 kB / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.006061, allocations: 157.9 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.006083, allocations: 29.69 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.006162, allocations: 130.9 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.006179, allocations: 3.953 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.006223, allocations: 23.38 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.006486, allocations: 496.1 kB / 0.881 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.006547, allocations: 15.98 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.006593, allocations: 12.12 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.006696, allocations: 27.67 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006697, allocations: 0 / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001488/0.006846, allocations: 61.61 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.006864, allocations: 6.5 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.006871, allocations: 3.938 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.006884, allocations: 0 / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.006952, allocations: 4 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.006956, allocations: 4.094 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.006993, allocations: 11.94 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.007, allocations: 4 kB / 0.8811 GB, free: 2.75 MB / 0.8386 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.0001144/0.007115, allocations: 160.6 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.007137, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.00732, allocations: 64.86 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.007325, allocations: 4 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007328, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.00733, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.007493, allocations: 120.7 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007493, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.007538, allocations: 4 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00754, allocations: 0 / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.007551, allocations: 4.188 kB / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.007555, allocations: 3.938 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007556, allocations: 0 / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.0078, allocations: 207.9 kB / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.007808, allocations: 3.938 kB / 0.8816 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.007819, allocations: 32 / 0.8816 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.007883, allocations: 11.94 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.007919, allocations: 7.922 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.007922, allocations: 0 / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.008, allocations: 127.2 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002072/0.008207, allocations: 7.953 kB / 0.8818 GB, free: 1.965 MB / 0.8386 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.0001239/0.008331, allocations: 95.25 kB / 0.8819 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.008504, allocations: 43.59 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008506, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.008569, allocations: 19.69 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.008797, allocations: 4 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.009096, allocations: 114.4 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.009165, allocations: 63.2 kB / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.911e-05/0.009184, allocations: 0 / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.009216, allocations: 16.62 kB / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/0.009216, allocations: 0 / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of Templates: time 0.003042/0.01226, allocations: 479.8 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.45881519606337]