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.0007802/0.0007802, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002088, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008119/0.0008119, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001876, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.034/1.034, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.135, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.904/1.904, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5066/2.41, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.309e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00262/0.002653, allocations: 0.672 MB / 0.7303 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003723, allocations: 0.8684 MB / 0.7312 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.003757, allocations: 0 / 0.7312 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.003783, allocations: 0 / 0.7312 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.003832, allocations: 4.703 kB / 0.7312 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.003958, allocations: 20.62 kB / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.004068, allocations: 16.81 kB / 0.7312 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.004139, allocations: 9.078 kB / 0.7312 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.004409, allocations: 25.94 kB / 0.7313 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.004492, allocations: 8 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.00451, allocations: 0.875 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.004591, allocations: 5.406 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.004611, allocations: 0.7656 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.004632, allocations: 4.656 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004771, allocations: 14.14 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.004788, allocations: 4.594 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004789, allocations: 0.9062 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.004811, allocations: 0 / 0.7313 GB, free: 2.766 MB / 0.698 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.0004591/0.00527, allocations: 233.3 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.00532, allocations: 12.03 kB / 0.7315 GB, free: 2.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.005514, allocations: 87.48 kB / 0.7316 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.00562, allocations: 110.2 kB / 0.7317 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005631, allocations: 384 / 0.7317 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.005644, allocations: 4.969 kB / 0.7317 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.809e-05/0.005742, allocations: 43.61 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005751, allocations: 192 / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.005757, allocations: 5.031 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.005764, allocations: 2.312 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.5e-05/0.005779, allocations: 3.938 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.852e-05/0.005877, allocations: 68.97 kB / 0.7318 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/0.005919, allocations: 15.61 kB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.005936, allocations: 8.953 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.00595, allocations: 1.719 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.005978, allocations: 34.56 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.005979, allocations: 0 / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000117/0.006096, allocations: 34.62 kB / 0.7319 GB, free: 2.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.00613, allocations: 52.22 kB / 0.732 GB, free: 1.941 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.006204, allocations: 110.7 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.006222, allocations: 26.2 kB / 0.7321 GB, free: 1.789 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.006249, allocations: 81.83 kB / 0.7322 GB, free: 1.707 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.006277, allocations: 4 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.006311, allocations: 9.719 kB / 0.7322 GB, free: 1.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.006403, allocations: 322.8 kB / 0.7325 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.006414, allocations: 4 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.006423, allocations: 2.406 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.006455, allocations: 9.953 kB / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006457, allocations: 0 / 0.7325 GB, free: 1.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.117e-05/0.006518, allocations: 39.38 kB / 0.7326 GB, free: 1.305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.006532, allocations: 4 kB / 0.7326 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.006537, allocations: 0 / 0.7326 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.006553, allocations: 4 kB / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.006624, allocations: 0 / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.006629, allocations: 5.203 kB / 0.7326 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.006649, allocations: 8 kB / 0.7326 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006656, allocations: 0 / 0.7326 GB, free: 1.285 MB / 0.698 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 6.699e-05/0.006723, allocations: 114.4 kB / 0.7327 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.006732, allocations: 5.125 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.006758, allocations: 3.156 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00676, allocations: 0.9844 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.006761, allocations: 0.5625 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006764, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.158e-05/0.006836, allocations: 74.31 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.006837, allocations: 0.9062 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.006869, allocations: 4 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.006875, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006877, allocations: 0.5312 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.006882, allocations: 1.562 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006883, allocations: 0.5469 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006884, allocations: 4 kB / 0.7328 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.234e-05/0.006967, allocations: 61 kB / 0.7328 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006976, allocations: 1.469 kB / 0.7328 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.616e-05/0.006992, allocations: 11.98 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.007023, allocations: 8.75 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.007026, allocations: 1.094 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.81e-05/0.007044, allocations: 12.84 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.007044, allocations: 0 / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001496/0.007194, allocations: 4.969 kB / 0.7329 GB, free: 0.9375 MB / 0.698 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.0001177/0.007311, allocations: 77.17 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.007399, allocations: 10.36 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.007405, allocations: 4 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.007425, allocations: 10.56 kB / 0.733 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.929e-05/0.007514, allocations: 10.59 kB / 0.733 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/0.00834, allocations: 122.5 kB / 0.7331 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.008374, allocations: 59.34 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.008394, allocations: 0 / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.008439, allocations: 48.62 kB / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.008439, allocations: 0 / 0.7332 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of Templates: time 0.002108/0.01055, allocations: 308.5 kB / 0.7335 GB, free: 264 kB / 0.698 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.114019053988159]