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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001023/0.001023, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007868/0.007868, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.615/1.615, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.064/3.064, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005274/0.0005276, allocations: 11.66 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.388, allocations: 159.6 MB / 1.059 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0009194/0.389, allocations: 347.3 kB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3901, allocations: 0.8002 MB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.3902, allocations: 3.938 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.3902, allocations: 0 / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.3903, allocations: 3.984 kB / 1.06 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3904, allocations: 4 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.3905, allocations: 19.92 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.3906, allocations: 4 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.3907, allocations: 19.88 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3907, allocations: 7.984 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3908, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.3908, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3908, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.3909, allocations: 41.62 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.529e-05/0.3909, allocations: 15.91 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.391, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.815e-06/0.391, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.391, allocations: 4 kB / 1.06 GB, free: 4.125 MB / 0.8106 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.0004207/0.3914, allocations: 327.7 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3914, allocations: 12.03 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.3915, allocations: 0.9375 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3916, allocations: 168.3 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3916, allocations: 4.375 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3917, allocations: 384 / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3918, allocations: 38.25 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3918, allocations: 4.188 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3918, allocations: 7.875 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3918, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.943e-05/0.3919, allocations: 19.98 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3921, allocations: 149.7 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.3922, allocations: 30.59 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.3923, allocations: 16.86 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3923, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3923, allocations: 30.56 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.3923, allocations: 0 / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002546/0.3926, allocations: 73.55 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3926, allocations: 51.41 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.3927, allocations: 101.8 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3928, allocations: 25.7 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.3928, allocations: 88.14 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3928, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.3929, allocations: 9.719 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.393, allocations: 318.9 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.3931, allocations: 15.98 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.3931, allocations: 4 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.3932, allocations: 28.78 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3932, allocations: 64 / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000114/0.3933, allocations: 57.59 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3934, allocations: 5.562 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3934, allocations: 3.938 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3934, allocations: 3.984 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.3935, allocations: 4 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3935, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.3935, allocations: 4.031 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3935, allocations: 4 kB / 1.061 GB, free: 2.324 MB / 0.8106 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.0001259/0.3937, allocations: 113.8 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.3937, allocations: 3.984 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.3937, allocations: 7.062 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3937, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3937, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3937, allocations: 0 / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3939, allocations: 157.7 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3939, allocations: 256 / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.3939, allocations: 8 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3939, allocations: 7.938 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3939, allocations: 7.922 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3939, allocations: 4 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3939, allocations: 0 / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3941, allocations: 73.12 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3942, allocations: 81.02 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3942, allocations: 3.938 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.3943, allocations: 7.984 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.3943, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.3943, allocations: 3.938 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3944, allocations: 83.28 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3944, allocations: 0 / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001743/0.3945, allocations: 4 kB / 1.062 GB, free: 1.676 MB / 0.8106 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.0001634/0.3947, allocations: 99.28 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.3949, allocations: 27.86 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3949, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.3949, allocations: 15.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.3951, allocations: 128 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.3954, allocations: 120.6 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3957, allocations: 0.677 MB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.3957, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3957, allocations: 7.438 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3957, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of Templates: time 0.002681/0.3984, allocations: 243.2 kB / 1.063 GB, free: 440 kB / 0.8106 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