Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.006787/0.006787, allocations: 100.9 kB / 15.73 MB, free: 6 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.001305/0.001305, allocations: 189.2 kB / 16.67 MB, free: 5.934 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3739, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002062/0.3761, allocations: 0.6135 MB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3771, allocations: 0.8121 MB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.3772, allocations: 0 / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.3772, allocations: 0 / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.3773, allocations: 3.938 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3775, allocations: 19.91 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.3776, allocations: 27.86 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.3777, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.3778, allocations: 7.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.3778, allocations: 15.92 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3779, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.3779, allocations: 4 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.3779, allocations: 0 / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.3779, allocations: 3.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.378, allocations: 19.95 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.378, allocations: 4 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.378, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3781, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 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.0004192/0.3785, allocations: 335.4 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3785, allocations: 8.031 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.3786, allocations: 4.891 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3787, allocations: 164.4 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3787, allocations: 384 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.3787, allocations: 384 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3789, allocations: 42.19 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3789, allocations: 192 / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3789, allocations: 3.938 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3789, allocations: 0 / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.379, allocations: 23.97 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.3792, allocations: 153.6 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.3793, allocations: 26.59 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.3793, allocations: 16.92 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3793, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3794, allocations: 34.5 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3794, allocations: 0 / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002174/0.3796, allocations: 57.61 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.3796, allocations: 51.41 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.46e-05/0.3797, allocations: 110 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3797, allocations: 25.7 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.3798, allocations: 80.14 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3798, allocations: 3.953 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.3798, allocations: 13.72 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3799, allocations: 314.8 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.38, allocations: 7.984 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.38, allocations: 11.94 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.3801, allocations: 24.84 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3801, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.597e-05/0.3802, allocations: 45.69 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3802, allocations: 7.938 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3802, allocations: 3.938 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3802, allocations: 0 / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.3803, allocations: 8.234 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3803, allocations: 4.094 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.3804, allocations: 8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3804, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 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.431e-05/0.3805, allocations: 105.8 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-06/0.3805, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.3805, allocations: 18.98 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3805, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3805, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3805, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.3806, allocations: 157.7 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3806, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.3807, allocations: 4 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3807, allocations: 3.938 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3807, allocations: 3.938 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3807, allocations: 3.984 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3807, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3808, allocations: 73.08 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.3809, allocations: 81.11 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3809, allocations: 3.938 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.3809, allocations: 0 / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.381, allocations: 3.984 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.381, allocations: 8 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.381, allocations: 79.28 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.381, allocations: 3.938 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001718/0.3812, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 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.0001233/0.3813, allocations: 103.3 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.3815, allocations: 15.98 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3815, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.3815, allocations: 7.984 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.3817, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.3819, allocations: 110.7 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3822, allocations: 0.6806 MB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.3822, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.3823, allocations: 7.438 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of SimCode: time 4e-07/0.3823, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of Templates: time 0.002233/0.3845, allocations: 290.2 kB / 1.171 GB, free: 1.547 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches