Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001363/0.001363, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.62/1.62, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9242, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001941/0.9262, allocations: 0.665 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.9272, allocations: 0.8117 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.9272, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.9273, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.9274, allocations: 7.938 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.9275, allocations: 7.969 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.9276, allocations: 23.92 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.9277, allocations: 12 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.9278, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.9279, allocations: 15.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.9279, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.9279, allocations: 4 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.9279, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.928, allocations: 11.92 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.596e-05/0.9281, allocations: 27.89 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9281, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9281, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9281, allocations: 0 / 1.21 GB, free: 12.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004616/0.9286, allocations: 343.2 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.9286, allocations: 8.031 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.9287, allocations: 8.938 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.9288, allocations: 160.4 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.9288, allocations: 384 / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.9288, allocations: 4.375 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.929, allocations: 46.23 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.929, allocations: 8.188 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.929, allocations: 3.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.9291, allocations: 0 / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.9292, allocations: 31.95 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.9296, allocations: 248.9 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.9297, allocations: 50.48 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.9298, allocations: 16.91 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.9298, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.9298, allocations: 34.56 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9299, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003633/0.9302, allocations: 89.58 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.9303, allocations: 51.41 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.9303, allocations: 109.8 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.9304, allocations: 25.7 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.9304, allocations: 80.14 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.9304, allocations: 7.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.9305, allocations: 13.72 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.9306, allocations: 310.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.9307, allocations: 24 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.9308, allocations: 15.98 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.9309, allocations: 36.83 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9309, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.9312, allocations: 77.78 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9312, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9312, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.9312, allocations: 3.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.9313, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.9313, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.9314, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.9314, allocations: 3.938 kB / 1.212 GB, free: 10 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 (2): * Single equations (assignments): 2 * 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.475e-05/0.9315, allocations: 117.9 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.9315, allocations: 3.938 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.9317, allocations: 76.72 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9318, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9318, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.9318, allocations: 77.11 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.9318, allocations: 0 / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.9319, allocations: 12.02 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.932, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000266/0.9322, allocations: 156.9 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000264/0.9325, allocations: 238.7 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.311e-05/0.9326, allocations: 23.98 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.9327, allocations: 83.28 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of Backend: time 5.11e-07/0.9327, allocations: 0 / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.9331, allocations: 94.38 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004549/0.9336, allocations: 0.5595 MB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.003385/0.937, allocations: 0.5298 MB / 1.214 GB, free: 7.934 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches