Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001848/0.001848, allocations: 85.38 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.00213/0.00213, allocations: 158.2 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.965 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.83/2.83, allocations: 377.9 MB / 0.6228 GB, free: 12.55 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.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.002549/0.002549, allocations: 67.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9464/0.949, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001647/0.9506, allocations: 0.6063 MB / 1.155 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.9514, allocations: 0.8421 MB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.9514, allocations: 0 / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.9515, allocations: 0 / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.9515, allocations: 10.81 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.9517, allocations: 11.31 kB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.9518, allocations: 19.92 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.9518, allocations: 6.844 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.952, allocations: 13.78 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.952, allocations: 9.828 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.952, allocations: 2.562 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.9521, allocations: 6.625 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.9521, allocations: 7.984 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.9521, allocations: 10.06 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.9522, allocations: 22.64 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9522, allocations: 0 / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9522, allocations: 3.234 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.9522, allocations: 0 / 1.155 GB, free: 32.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003443/0.9526, allocations: 252.1 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.9526, allocations: 8.062 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.9527, allocations: 16.38 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.025e-05/0.9528, allocations: 116.9 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.9528, allocations: 384 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.9528, allocations: 384 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.9529, allocations: 35.34 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.953, allocations: 192 / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.953, allocations: 6.531 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.953, allocations: 0 / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.953, allocations: 19.84 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/0.9531, allocations: 103.5 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.269e-05/0.9532, allocations: 23.8 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.9532, allocations: 17.36 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.9533, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.9533, allocations: 36.97 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.9533, allocations: 0 / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.9535, allocations: 55.86 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.9535, allocations: 51.41 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.9535, allocations: 103.2 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.9535, allocations: 29.83 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.9536, allocations: 86.8 kB / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.9536, allocations: 0 / 1.156 GB, free: 31.28 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.9536, allocations: 12.28 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/0.9537, allocations: 317.9 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.9537, allocations: 5.156 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.9537, allocations: 8.562 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.9538, allocations: 26.3 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9538, allocations: 0 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.033e-05/0.9539, allocations: 50.23 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.9539, allocations: 6.062 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.9539, allocations: 2.844 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9539, allocations: 3.938 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.954, allocations: 2.594 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.954, allocations: 0 / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.954, allocations: 2.562 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.954, allocations: 3.328 kB / 1.157 GB, free: 30.89 MB / 1.076 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 4.525e-05/0.954, allocations: 121.8 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.9541, allocations: 0 / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.9541, allocations: 3.156 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9541, allocations: 6.812 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.9541, allocations: 0 / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.9541, allocations: 0 / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.319e-05/0.9541, allocations: 103.5 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9541, allocations: 256 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.9542, allocations: 6.75 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9542, allocations: 6.25 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.9542, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9542, allocations: 11.88 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9542, allocations: 3.938 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.9543, allocations: 66.59 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.9543, allocations: 7.375 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.9543, allocations: 2.594 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.629e-05/0.9543, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.9543, allocations: 6.5 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.9543, allocations: 3.984 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.388e-05/0.9544, allocations: 87.64 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9544, allocations: 4.031 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001781/0.9545, allocations: 2.844 kB / 1.157 GB, free: 30.45 MB / 1.076 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 7.895e-05/0.9546, allocations: 92.75 kB / 1.157 GB, free: 30.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.9547, allocations: 18.27 kB / 1.157 GB, free: 30.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9547, allocations: 0 / 1.157 GB, free: 30.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.9548, allocations: 12.67 kB / 1.157 GB, free: 30.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.9549, allocations: 0 / 1.157 GB, free: 30.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.9551, allocations: 115.4 kB / 1.157 GB, free: 30.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.9552, allocations: 63.59 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.9552, allocations: 2.594 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.9552, allocations: 8.5 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9552, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of Templates: time 0.002395/0.9576, allocations: 280 kB / 1.158 GB, free: 30.09 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.942573237931356]