Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001852/0.001852, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002302/0.002302, allocations: 160 kB / 22.46 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.596/1.596, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.935/2.935, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.689e-05, allocations: 2.281 kB / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002331/0.002368, allocations: 0.6172 MB / 1.001 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003842, allocations: 0.8431 MB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.00389, allocations: 0 / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.003931, allocations: 0 / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.004025, allocations: 4 kB / 1.002 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.00426, allocations: 15.86 kB / 1.002 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.004345, allocations: 19.94 kB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.004417, allocations: 7.984 kB / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.004603, allocations: 15.98 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.004662, allocations: 7.984 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.00468, allocations: 4 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.004733, allocations: 7.938 kB / 1.002 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.004747, allocations: 3.938 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.004771, allocations: 0 / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.004911, allocations: 27.95 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.004915, allocations: 0 / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004917, allocations: 4 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.004927, allocations: 0 / 1.002 GB, free: 5.652 MB / 0.9512 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.0005581/0.005485, allocations: 250.4 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.00553, allocations: 11.97 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.005721, allocations: 12.92 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.005896, allocations: 109.7 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.005911, allocations: 384 / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005928, allocations: 4.375 kB / 1.002 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006084, allocations: 34.25 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.006095, allocations: 4.188 kB / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.006105, allocations: 384 / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.006111, allocations: 4.312 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.006213, allocations: 23.91 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.006397, allocations: 101.3 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.006505, allocations: 26.55 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.006569, allocations: 16.91 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.006589, allocations: 0 / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.006617, allocations: 34.5 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.006619, allocations: 4 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002787/0.006897, allocations: 53.64 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.006989, allocations: 55.34 kB / 1.002 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00711, allocations: 109.8 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.007135, allocations: 25.7 kB / 1.003 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.007192, allocations: 80.14 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.007218, allocations: 4 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.007252, allocations: 13.72 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.007415, allocations: 314.8 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.007456, allocations: 8.125 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.007493, allocations: 15.98 kB / 1.003 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.00757, allocations: 17.09 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007572, allocations: 0 / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001201/0.007692, allocations: 49.69 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.007707, allocations: 4 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007711, allocations: 3.938 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.007729, allocations: 8.094 kB / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/0.007795, allocations: 0 / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007799, allocations: 0 / 1.003 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.007842, allocations: 11.92 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007848, allocations: 0 / 1.003 GB, free: 4.094 MB / 0.9512 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 8.265e-05/0.007931, allocations: 109.8 kB / 1.003 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.007941, allocations: 3.953 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.007968, allocations: 7.156 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.007969, allocations: 0 / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007972, allocations: 0 / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.007977, allocations: 3.938 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.008095, allocations: 105.3 kB / 1.003 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008096, allocations: 3.938 kB / 1.003 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.008133, allocations: 4 kB / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008134, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008141, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.008142, allocations: 0 / 1.003 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008143, allocations: 4 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.00829, allocations: 76.98 kB / 1.003 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.008299, allocations: 4 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.008311, allocations: 8.031 kB / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.662e-05/0.008337, allocations: 0 / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.008374, allocations: 3.984 kB / 1.003 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.008379, allocations: 4 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.008436, allocations: 83.28 kB / 1.003 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.008436, allocations: 3.938 kB / 1.003 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001855/0.008621, allocations: 3.938 kB / 1.003 GB, free: 3.609 MB / 0.9512 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.0001369/0.008758, allocations: 99.23 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.008893, allocations: 23.98 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.008895, allocations: 0 / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.00894, allocations: 11.98 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.009084, allocations: 2.344 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.009382, allocations: 108.8 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.009463, allocations: 55.36 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.009489, allocations: 3.984 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.00952, allocations: 12.62 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.00952, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.002748/0.01227, allocations: 288.2 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.583653423935175]