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.001147/0.001147, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001083/0.001083, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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.555/2.555, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9865, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002238/0.9888, allocations: 0.6188 MB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.9902, allocations: 0.8078 MB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.9903, allocations: 0 / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.9903, allocations: 0 / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.9904, allocations: 3.938 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.9906, allocations: 11.98 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.9907, allocations: 19.94 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.9908, allocations: 4 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.9909, allocations: 15.91 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.991, allocations: 11.94 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.991, allocations: 0 / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.991, allocations: 4 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.991, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.9911, allocations: 7.922 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.958e-05/0.9912, allocations: 11.98 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9912, allocations: 4 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9912, allocations: 3.938 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9912, allocations: 0 / 1.169 GB, free: 2.254 MB / 0.8887 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.0004823/0.9917, allocations: 331.3 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.9917, allocations: 8.625 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.9918, allocations: 0.9375 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.9919, allocations: 172.4 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.992, allocations: 384 / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.992, allocations: 384 / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.9921, allocations: 42.19 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.9922, allocations: 192 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9922, allocations: 3.938 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.9922, allocations: 0 / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.9923, allocations: 15.98 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.9925, allocations: 157.7 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.9926, allocations: 26.61 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.9926, allocations: 23.36 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.9926, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.9927, allocations: 34.5 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.9927, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002412/0.9929, allocations: 57.53 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.993, allocations: 55.47 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.9931, allocations: 109.8 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.9931, allocations: 25.7 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.9932, allocations: 80.14 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.9932, allocations: 0 / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.9932, allocations: 17.7 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9934, allocations: 314.8 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.9934, allocations: 4 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.9935, allocations: 11.98 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.9935, allocations: 24.78 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9936, allocations: 4 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.9937, allocations: 45.94 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.9937, allocations: 4 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9937, allocations: 0 / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.9937, allocations: 3.938 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.9938, allocations: 16.03 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9938, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.9939, allocations: 3.984 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.9939, allocations: 4 kB / 1.17 GB, free: 480 kB / 0.8887 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.094e-05/0.994, allocations: 105.8 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.994, allocations: 3.906 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.994, allocations: 11.06 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.994, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.994, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.9941, allocations: 85.05 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.9941, allocations: 3.984 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.9941, allocations: 4 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.9942, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001514/0.9943, allocations: 121 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002286/0.9946, allocations: 218.8 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.683e-05/0.9946, allocations: 11.94 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.9947, allocations: 83.27 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of Backend: time 3.71e-07/0.9947, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.9951, allocations: 90.39 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005132/0.9956, allocations: 0.5583 MB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.002618/0.9983, allocations: 348.6 kB / 1.172 GB, free: 14.73 MB / 0.9044 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/jenkins1/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