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.001602/0.001602, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001544/0.001544, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.426/1.426, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.89 kB / 1.055 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 157.4 MB / 1.208 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002374/1.049, allocations: 0.6054 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001244/1.051, allocations: 0.8156 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/1.051, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/1.051, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.362e-05/1.051, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/1.051, allocations: 7.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.314e-05/1.051, allocations: 19.92 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/1.051, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/1.051, allocations: 11.92 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/1.051, allocations: 15.88 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/1.051, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/1.051, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/1.052, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/1.052, allocations: 11.91 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/1.052, allocations: 11.98 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.052, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.083e-06/1.052, allocations: 4 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.46e-06/1.052, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 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.0004986/1.052, allocations: 331.3 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.052, allocations: 15.97 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.052, allocations: 0.9375 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/1.052, allocations: 168.4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/1.052, allocations: 384 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/1.052, allocations: 384 / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/1.053, allocations: 38.19 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/1.053, allocations: 192 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/1.053, allocations: 3.938 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/1.053, allocations: 4 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/1.053, allocations: 19.98 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/1.053, allocations: 149.7 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/1.053, allocations: 22.61 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/1.053, allocations: 16.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/1.053, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.053, allocations: 46.5 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.053, allocations: 0 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003046/1.054, allocations: 57.53 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/1.054, allocations: 51.41 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/1.054, allocations: 101.8 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/1.054, allocations: 29.7 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/1.054, allocations: 80.14 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/1.054, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/1.054, allocations: 17.84 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.054, allocations: 318.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/1.054, allocations: 4 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/1.054, allocations: 7.984 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/1.054, allocations: 28.78 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.054, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001209/1.054, allocations: 45.75 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.054, allocations: 4 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.054, allocations: 0 / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.054, allocations: 3.938 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/1.054, allocations: 7.938 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/1.054, allocations: 0 / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/1.055, allocations: 7.984 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/1.055, allocations: 3.938 kB / 1.211 GB, free: 10.23 MB / 0.9356 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.095e-05/1.055, allocations: 113.9 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/1.055, allocations: 3.906 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/1.055, allocations: 11.06 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.055, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.055, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/1.055, allocations: 77.11 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/1.055, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/1.055, allocations: 11.97 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/1.055, allocations: 3.938 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001539/1.055, allocations: 125 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001954/1.055, allocations: 218.8 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.696e-05/1.055, allocations: 11.94 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.815e-05/1.055, allocations: 83.27 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of Backend: time 4.01e-07/1.055, allocations: 4 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003835/1.056, allocations: 90.45 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006681/1.056, allocations: 0.5503 MB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.002711/1.059, allocations: 350.5 kB / 1.213 GB, free: 8.492 MB / 0.9356 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/jenkins1/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