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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002084/0.002084, allocations: 67.89 kB / 1.103 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001972/1.008, allocations: 0.6225 MB / 1.263 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000958/1.009, allocations: 0.7994 MB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/1.009, allocations: 0.7188 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/1.009, allocations: 4.688 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/1.009, allocations: 8.594 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/1.01, allocations: 3.906 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.489e-05/1.01, allocations: 25.33 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/1.01, allocations: 3.328 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/1.01, allocations: 10.12 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/1.01, allocations: 12.62 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/1.01, allocations: 1.406 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/1.01, allocations: 1.469 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/1.01, allocations: 1.438 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/1.01, allocations: 6.672 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/1.01, allocations: 17.67 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.01, allocations: 1.516 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/1.01, allocations: 0 / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.01, allocations: 0 / 1.264 GB, free: 6.953 MB / 0.9981 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.0003651/1.01, allocations: 337.4 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.011, allocations: 9.469 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/1.011, allocations: 1.906 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.031e-05/1.011, allocations: 163.5 kB / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/1.011, allocations: 384 / 1.265 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/1.011, allocations: 5.188 kB / 1.265 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/1.011, allocations: 35.44 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.011, allocations: 192 / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/1.011, allocations: 4.734 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.011, allocations: 0.875 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/1.011, allocations: 15.48 kB / 1.265 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/1.011, allocations: 152.7 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.844e-05/1.011, allocations: 38.14 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/1.011, allocations: 14.83 kB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/1.011, allocations: 4.766 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/1.011, allocations: 32.05 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/1.011, allocations: 3.984 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002188/1.011, allocations: 59.83 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.012, allocations: 60.31 kB / 1.265 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/1.012, allocations: 102.3 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/1.012, allocations: 26.61 kB / 1.265 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/1.012, allocations: 81.91 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.012, allocations: 0 / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/1.012, allocations: 16.88 kB / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/1.012, allocations: 316.9 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/1.012, allocations: 9.641 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/1.012, allocations: 6.406 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/1.012, allocations: 22.5 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/1.012, allocations: 0 / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/1.012, allocations: 51.45 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.012, allocations: 4.938 kB / 1.266 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.012, allocations: 4.734 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.012, allocations: 4.75 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/1.012, allocations: 4.781 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.012, allocations: 0 / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/1.012, allocations: 2.984 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.012, allocations: 1.312 kB / 1.266 GB, free: 5.34 MB / 0.9981 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.887e-05/1.012, allocations: 111.9 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/1.012, allocations: 4.828 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/1.012, allocations: 8.547 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.012, allocations: 5.594 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.012, allocations: 4 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.012, allocations: 0.8438 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.72e-05/1.012, allocations: 153 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.012, allocations: 1.031 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/1.012, allocations: 4.281 kB / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.012, allocations: 0 / 1.266 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.012, allocations: 9.516 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.012, allocations: 0 / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.012, allocations: 0.7188 kB / 1.266 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/1.013, allocations: 75.52 kB / 1.266 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/1.013, allocations: 82.95 kB / 1.266 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/1.013, allocations: 5.406 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/1.013, allocations: 3.172 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/1.013, allocations: 5.641 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/1.013, allocations: 0 / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.535e-05/1.013, allocations: 80.81 kB / 1.266 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.013, allocations: 4.031 kB / 1.266 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000176/1.013, allocations: 3.25 kB / 1.266 GB, free: 4.754 MB / 0.9981 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.0001298/1.013, allocations: 98.52 kB / 1.266 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001331/1.013, allocations: 17.75 kB / 1.266 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.013, allocations: 0 / 1.266 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/1.013, allocations: 11.36 kB / 1.266 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/1.013, allocations: 2.312 kB / 1.266 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/1.014, allocations: 138.9 kB / 1.266 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/1.014, allocations: 0.6784 MB / 1.267 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/1.014, allocations: 8.891 kB / 1.267 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.014, allocations: 0 / 1.267 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of Templates: time 0.002183/1.016, allocations: 467.7 kB / 1.268 GB, free: 3.773 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.322220652829856]