Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 111 kB / 16.41 MB, free: 6.441 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.001616/0.001616, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001716, allocations: 71.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001939/1.02, allocations: 0.6585 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008681/1.021, allocations: 0.8006 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/1.021, allocations: 1 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/1.021, allocations: 4.453 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/1.021, allocations: 1.094 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/1.021, allocations: 14.56 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/1.021, allocations: 24.53 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/1.021, allocations: 4.297 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/1.021, allocations: 20.88 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.44e-05/1.021, allocations: 13.78 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/1.021, allocations: 2.812 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/1.021, allocations: 1.688 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/1.021, allocations: 2.391 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/1.021, allocations: 13.91 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.875e-05/1.021, allocations: 21.03 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.021, allocations: 1.281 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/1.021, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.959e-06/1.021, allocations: 0 / 1.09 GB, free: 4.43 MB / 0.8575 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.0003771/1.022, allocations: 336.4 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.022, allocations: 9.281 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/1.022, allocations: 6.609 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.903e-05/1.022, allocations: 166.4 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.022, allocations: 5.531 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/1.022, allocations: 1.844 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/1.022, allocations: 53.7 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.022, allocations: 8.125 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/1.022, allocations: 7.938 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.022, allocations: 1.125 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.022, allocations: 32.61 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/1.023, allocations: 243.1 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.023, allocations: 47.88 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/1.023, allocations: 19.45 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.023, allocations: 5.734 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/1.023, allocations: 35.56 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/1.023, allocations: 0 / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/1.023, allocations: 84.25 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/1.023, allocations: 52.34 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/1.023, allocations: 100.4 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/1.023, allocations: 26.98 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/1.023, allocations: 84.75 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/1.023, allocations: 6.109 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.023, allocations: 13.19 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.723e-05/1.024, allocations: 313.1 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/1.024, allocations: 21.61 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.819e-05/1.024, allocations: 17.94 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/1.024, allocations: 37.84 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.024, allocations: 0 / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/1.024, allocations: 78.86 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.024, allocations: 5.938 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.024, allocations: 0 / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.024, allocations: 5.781 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/1.024, allocations: 8.156 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.024, allocations: 0.6094 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/1.024, allocations: 6.953 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.024, allocations: 0 / 1.092 GB, free: 2.711 MB / 0.8575 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 5.782e-05/1.024, allocations: 116.6 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/1.024, allocations: 8.969 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/1.025, allocations: 72.22 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.025, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.025, allocations: 0.7969 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/1.025, allocations: 77.98 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/1.025, allocations: 1.766 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/1.025, allocations: 9.766 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/1.025, allocations: 3.328 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002439/1.025, allocations: 154.9 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000231/1.025, allocations: 233.5 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.015e-05/1.025, allocations: 19.69 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.633e-05/1.025, allocations: 79.84 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of Backend: time 5.41e-07/1.025, allocations: 0.7188 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004381/1.026, allocations: 98.06 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003671/1.026, allocations: 0.5619 MB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of Templates: time 0.002629/1.029, allocations: 0.5314 MB / 1.094 GB, free: 1.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches