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.01023/0.01023, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001783/0.001783, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.672/2.672, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.94 kB / 0.9509 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3313, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.002123/0.3335, allocations: 0.6657 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3346, allocations: 0.8122 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.3347, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3347, allocations: 3.844 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.3348, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.335, allocations: 15.86 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.3351, allocations: 27.98 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3352, allocations: 3.984 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.3353, allocations: 19.86 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.3353, allocations: 8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.3353, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3354, allocations: 4 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.3354, allocations: 3.938 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.3354, allocations: 11.98 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.55e-05/0.3355, allocations: 19.91 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3355, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3356, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3356, allocations: 0 / 1.09 GB, free: 15.84 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.0005895/0.3362, allocations: 335.5 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3362, allocations: 12.03 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3362, allocations: 4.844 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3364, allocations: 164.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3364, allocations: 4.375 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3364, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3366, allocations: 54.23 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3366, allocations: 192 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3367, allocations: 3.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3367, allocations: 7.875 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.3368, allocations: 39.94 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3373, allocations: 244.9 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3374, allocations: 42.53 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.3375, allocations: 20.91 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3375, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3376, allocations: 38.5 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3376, allocations: 0 / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.3379, allocations: 81.64 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.338, allocations: 55.41 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.3381, allocations: 101.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3381, allocations: 25.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.3382, allocations: 84.05 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3382, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3382, allocations: 21.84 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3384, allocations: 310.8 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.3385, allocations: 19.97 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.3385, allocations: 15.98 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3387, allocations: 40.77 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3387, allocations: 4.062 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.3389, allocations: 73.44 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3389, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.339, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.339, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.3391, allocations: 7.984 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.3391, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.3391, allocations: 8.016 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.3392, allocations: 4 kB / 1.091 GB, free: 13.82 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 9.417e-05/0.3393, allocations: 113.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3393, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.3395, allocations: 76.72 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3395, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3396, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3396, allocations: 4.031 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3398, allocations: 161.6 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3398, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.57e-05/0.3398, allocations: 11.94 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3398, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3399, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3399, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3399, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.3401, allocations: 163.4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3402, allocations: 88.94 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3402, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.3403, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3403, allocations: 3.984 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.3403, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.3404, allocations: 79.28 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3404, allocations: 4.031 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002103/0.3406, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001706/0.3408, allocations: 95.78 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.341, allocations: 43.95 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.341, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.3411, allocations: 23.98 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3414, allocations: 3.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.3417, allocations: 109.6 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3422, allocations: 0.6768 MB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.3423, allocations: 4 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.3423, allocations: 7.438 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.3423, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.002831/0.3451, allocations: 453.2 kB / 1.093 GB, free: 11.54 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/jenkins/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