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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008478/0.008478, allocations: 94.75 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 201.7 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3799, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002195/0.3822, allocations: 0.6214 MB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3836, allocations: 0.804 MB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.814e-05/0.3837, allocations: 0 / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3837, allocations: 3.938 kB / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.153e-05/0.3839, allocations: 0 / 1.227 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3841, allocations: 11.92 kB / 1.227 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.3842, allocations: 15.94 kB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.3842, allocations: 11.98 kB / 1.227 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3844, allocations: 7.938 kB / 1.227 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.3844, allocations: 7.984 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3845, allocations: 0 / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-06/0.3845, allocations: 0 / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.3845, allocations: 11.98 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.3845, allocations: 3.938 kB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.3846, allocations: 15.92 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3846, allocations: 4 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3847, allocations: 0 / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3847, allocations: 0 / 1.227 GB, free: 7.641 MB / 0.9825 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.00046/0.3851, allocations: 335.5 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3852, allocations: 8.031 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3852, allocations: 4.891 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3854, allocations: 168.3 kB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3854, allocations: 384 / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.3854, allocations: 384 / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3856, allocations: 38.25 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3856, allocations: 192 / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3856, allocations: 3.938 kB / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3857, allocations: 0 / 1.228 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.329e-05/0.3857, allocations: 15.98 kB / 1.228 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.3859, allocations: 153.7 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.23e-05/0.386, allocations: 26.55 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.3861, allocations: 16.91 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3861, allocations: 3.938 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.3861, allocations: 34.56 kB / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.3862, allocations: 0 / 1.228 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002431/0.3864, allocations: 61.59 kB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3865, allocations: 51.41 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3866, allocations: 102 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3866, allocations: 29.7 kB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.3866, allocations: 84.12 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.3867, allocations: 11.83 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.3867, allocations: 13.72 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3869, allocations: 314.8 kB / 1.229 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.3869, allocations: 7.984 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.3869, allocations: 8 kB / 1.229 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.149e-05/0.387, allocations: 20.84 kB / 1.229 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.387, allocations: 4 kB / 1.229 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.3872, allocations: 45.62 kB / 1.229 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3872, allocations: 4 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3872, allocations: 3.938 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3872, allocations: 0 / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.3873, allocations: 7.984 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3873, allocations: 8.031 kB / 1.229 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.3874, allocations: 256 / 1.229 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3874, allocations: 11.98 kB / 1.229 GB, free: 5.848 MB / 0.9825 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 0.0001013/0.3875, allocations: 109.8 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.3875, allocations: 0 / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.3876, allocations: 11.06 kB / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3876, allocations: 0 / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3876, allocations: 3.984 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3876, allocations: 0 / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3877, allocations: 157.7 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3877, allocations: 0 / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.3878, allocations: 4 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3878, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3878, allocations: 3.938 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3878, allocations: 0 / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3878, allocations: 0 / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.388, allocations: 77.06 kB / 1.229 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.388, allocations: 81.11 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.388, allocations: 7.875 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.3881, allocations: 0 / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3881, allocations: 0 / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3881, allocations: 7.984 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.3882, allocations: 87.22 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3882, allocations: 0 / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001886/0.3884, allocations: 0 / 1.229 GB, free: 5.211 MB / 0.9825 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.0001907/0.3886, allocations: 107.3 kB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3887, allocations: 15.98 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3887, allocations: 0 / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.3888, allocations: 11.98 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.389, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.3893, allocations: 133.1 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3897, allocations: 0.6729 MB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.3897, allocations: 0 / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3898, allocations: 7.438 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3898, allocations: 0 / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of Templates: time 0.002484/0.3922, allocations: 282 kB / 1.23 GB, free: 3.938 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) 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) Reference file matches