Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001834/0.001834, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.83 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7014, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001977/0.7034, allocations: 0.7433 MB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.7043, allocations: 0.8078 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.7044, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.7044, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.7045, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.7046, allocations: 7.984 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.7047, allocations: 23.94 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.7048, allocations: 4 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.7049, allocations: 15.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.097e-05/0.7049, allocations: 15.91 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.705, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.705, allocations: 0 / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.705, allocations: 4 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.705, allocations: 7.938 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.707e-05/0.7051, allocations: 19.97 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7051, allocations: 3.938 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7051, allocations: 4 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.7051, allocations: 0 / 1.018 GB, free: 1.109 MB / 0.7637 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.0004446/0.7056, allocations: 333.5 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7056, allocations: 12.03 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.7057, allocations: 0.9375 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.7058, allocations: 168.3 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7058, allocations: 8.375 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.7058, allocations: 384 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.706, allocations: 54.23 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.706, allocations: 4.125 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.706, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7061, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.7062, allocations: 31.97 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.7066, allocations: 248.9 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.7067, allocations: 42.5 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.7068, allocations: 16.91 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.7068, allocations: 4 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.7069, allocations: 34.55 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7069, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003831/0.7072, allocations: 85.67 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7073, allocations: 55.39 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.7074, allocations: 98 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7074, allocations: 25.7 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.7074, allocations: 87.98 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.7075, allocations: 11.91 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.7075, allocations: 17.83 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.7076, allocations: 310.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.7077, allocations: 23.92 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.7078, allocations: 11.98 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.708, allocations: 40.81 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.708, allocations: 4.062 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.7082, allocations: 73.55 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7082, allocations: 6.031 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.7082, allocations: 4.031 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7082, allocations: 3.984 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.7083, allocations: 8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7083, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.7084, allocations: 19.92 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.7084, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 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.921e-05/0.7085, allocations: 110.3 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.7085, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.7087, allocations: 72.72 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7088, allocations: 3.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7088, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7088, allocations: 4.031 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.7089, allocations: 161.5 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.709, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.709, allocations: 11.98 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.709, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.709, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.709, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.709, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.7093, allocations: 167.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.7094, allocations: 85.05 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.7094, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.7095, allocations: 7.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.7095, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7095, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.7096, allocations: 83.27 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7096, allocations: 4.031 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000216/0.7098, allocations: 8 kB / 1.021 GB, free: 14.27 MB / 0.7794 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.0001309/0.7099, allocations: 99.25 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.7101, allocations: 31.97 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7101, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.7102, allocations: 24.03 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.7106, allocations: 10.47 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.7109, allocations: 119.9 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7111, allocations: 0.6809 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.7112, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.7112, allocations: 11.44 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.7112, allocations: 4.062 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002193/0.7134, allocations: 350.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches