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.002193/0.002194, allocations: 109.7 kB / 16.41 MB, free: 6.48 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.002388/0.002388, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.624/2.624, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9211, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001853/0.923, allocations: 0.6036 MB / 1.227 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.924, allocations: 0.804 MB / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.924, allocations: 0 / 1.228 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.9241, allocations: 7.938 kB / 1.228 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.973e-05/0.9241, allocations: 4 kB / 1.228 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.9243, allocations: 7.922 kB / 1.228 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.9244, allocations: 15.94 kB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.9244, allocations: 0 / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.9245, allocations: 15.92 kB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.9246, allocations: 7.984 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.9246, allocations: 4 kB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.9246, allocations: 0 / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.9247, allocations: 8 kB / 1.228 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.9247, allocations: 7.922 kB / 1.228 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.9248, allocations: 19.92 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9248, allocations: 0 / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9248, allocations: 0 / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.9248, allocations: 0 / 1.228 GB, free: 12.01 MB / 0.9512 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.0004237/0.9252, allocations: 328 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.9253, allocations: 8.031 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.9253, allocations: 4.891 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.9255, allocations: 176.3 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-06/0.9255, allocations: 384 / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.9255, allocations: 384 / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.9256, allocations: 38.19 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9257, allocations: 192 / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.9257, allocations: 7.938 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.9257, allocations: 0 / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.9258, allocations: 15.98 kB / 1.228 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.9259, allocations: 153.7 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.926, allocations: 26.52 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.9261, allocations: 16.91 kB / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.9261, allocations: 0 / 1.229 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.9261, allocations: 34.56 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9261, allocations: 0 / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002181/0.9263, allocations: 53.62 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.9264, allocations: 55.41 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.9265, allocations: 105.8 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.9265, allocations: 25.7 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.9265, allocations: 84.14 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.9266, allocations: 3.953 kB / 1.229 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.9266, allocations: 21.64 kB / 1.229 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9267, allocations: 315 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.9268, allocations: 8 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.9268, allocations: 7.984 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.44e-05/0.9269, allocations: 24.84 kB / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9269, allocations: 0 / 1.229 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001008/0.927, allocations: 45.62 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.927, allocations: 4 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.927, allocations: 4.094 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9271, allocations: 3.938 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.9271, allocations: 4 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.9272, allocations: 3.938 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.9272, allocations: 7.984 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.9272, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 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 7.325e-05/0.9273, allocations: 109.8 kB / 1.229 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.9273, allocations: 4 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.9273, allocations: 11.06 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9273, allocations: 0 / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9273, allocations: 0 / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.9274, allocations: 85 kB / 1.23 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.9274, allocations: 3.984 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.9274, allocations: 4 kB / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.9275, allocations: 0 / 1.23 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001526/0.9276, allocations: 121 kB / 1.23 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001626/0.9278, allocations: 226.7 kB / 1.23 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.364e-05/0.9279, allocations: 15.94 kB / 1.23 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.9279, allocations: 83.27 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of Backend: time 4.5e-07/0.9279, allocations: 0 / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.9283, allocations: 88.14 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004065/0.9287, allocations: 0.5658 MB / 1.231 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of Templates: time 0.002542/0.9312, allocations: 357.1 kB / 1.231 GB, free: 8.477 MB / 0.9512 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