Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002143/0.002143, allocations: 80.84 kB / 19.18 MB, free: 2.52 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.002794/0.002794, allocations: 162.4 kB / 22.45 MB, free: 5.375 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.756/2.756, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.33e-05/3.647e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001818/0.001854, allocations: 0.6196 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003204, allocations: 0.8393 MB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.003245, allocations: 3.938 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.003277, allocations: 0 / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.003333, allocations: 3.938 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.003543, allocations: 15.92 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.003623, allocations: 23.92 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.003685, allocations: 0 / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.003872, allocations: 19.97 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.003926, allocations: 7.938 kB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.003941, allocations: 0 / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-05/0.003991, allocations: 4 kB / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.004001, allocations: 0 / 0.9525 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.004025, allocations: 11.98 kB / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.004135, allocations: 15.92 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.004139, allocations: 4 kB / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00414, allocations: 0 / 0.9525 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.004151, allocations: 4 kB / 0.9525 GB, free: 9.941 MB / 0.8575 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.0004937/0.004645, allocations: 254.3 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.004687, allocations: 8.031 kB / 0.9528 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.004859, allocations: 8.938 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.005014, allocations: 117.7 kB / 0.9529 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.005023, allocations: 4.312 kB / 0.9529 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.005036, allocations: 4.312 kB / 0.9529 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005174, allocations: 38.25 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005185, allocations: 192 / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005193, allocations: 384 / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.005197, allocations: 4.375 kB / 0.953 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.005273, allocations: 23.86 kB / 0.953 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.005434, allocations: 97.36 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.005529, allocations: 26.56 kB / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.005577, allocations: 12.86 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.005602, allocations: 3.984 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.005631, allocations: 38.56 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.005632, allocations: 0 / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002531/0.005885, allocations: 53.67 kB / 0.9532 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.00593, allocations: 51.41 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.006039, allocations: 105.8 kB / 0.9534 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.006058, allocations: 25.7 kB / 0.9534 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.006109, allocations: 88.14 kB / 0.9535 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.006139, allocations: 7.891 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.006171, allocations: 9.719 kB / 0.9535 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.006363, allocations: 319 kB / 0.9538 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.00641, allocations: 15.92 kB / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.006442, allocations: 4 kB / 0.9538 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.006525, allocations: 20.84 kB / 0.9538 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006527, allocations: 0 / 0.9538 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001116/0.006639, allocations: 41.69 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.006654, allocations: 8 kB / 0.9539 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.006659, allocations: 4.094 kB / 0.9539 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.006675, allocations: 0 / 0.9539 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.006746, allocations: 8.234 kB / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.006751, allocations: 0 / 0.9539 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.006783, allocations: 7.938 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006789, allocations: 0 / 0.9539 GB, free: 8.383 MB / 0.8575 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.529e-05/0.006885, allocations: 117.8 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.006892, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.006921, allocations: 15.08 kB / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006923, allocations: 0 / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.006928, allocations: 4 kB / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.006935, allocations: 3.938 kB / 0.954 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.007049, allocations: 101.3 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00705, allocations: 0 / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.007094, allocations: 7.984 kB / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.007096, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.007102, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.007103, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007104, allocations: 0 / 0.9541 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.007248, allocations: 69.06 kB / 0.9542 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.007265, allocations: 19.97 kB / 0.9542 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.007279, allocations: 3.938 kB / 0.9542 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.00731, allocations: 4 kB / 0.9542 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.007351, allocations: 3.938 kB / 0.9542 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.007353, allocations: 0 / 0.9542 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.007406, allocations: 83.27 kB / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.007406, allocations: 0 / 0.9543 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001825/0.007589, allocations: 7.938 kB / 0.9543 GB, free: 7.891 MB / 0.8575 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.000163/0.007752, allocations: 91.25 kB / 0.9544 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.007889, allocations: 23.98 kB / 0.9544 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007891, allocations: 0 / 0.9544 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.007929, allocations: 4 kB / 0.9544 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.008086, allocations: 10.5 kB / 0.9544 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.008403, allocations: 96.89 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.008475, allocations: 63.34 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.008499, allocations: 128 / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.008531, allocations: 16.5 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.008532, allocations: 0 / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.002778/0.01131, allocations: 298.7 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.99471265822649]