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.001345/0.001345, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001318/0.001317, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.589/2.589, allocations: 437.1 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.69 kB / 0.8699 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 151.6 MB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002147/0.3097, allocations: 0.6598 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3108, allocations: 0.8157 MB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3108, allocations: 0 / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.3109, allocations: 0 / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.138e-05/0.311, allocations: 7.938 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3111, allocations: 4 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.3112, allocations: 27.92 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3113, allocations: 7.984 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.3114, allocations: 11.92 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.3114, allocations: 11.98 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3114, allocations: 4 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.3115, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.3115, allocations: 3.938 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.3115, allocations: 8 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.3116, allocations: 27.91 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3116, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3116, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3116, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 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.0005399/0.3122, allocations: 339.7 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3122, allocations: 8.922 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3123, allocations: 4.844 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3124, allocations: 172.3 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3124, allocations: 4.375 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.3125, allocations: 4.312 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3126, allocations: 50.23 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3127, allocations: 192 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3127, allocations: 3.938 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3127, allocations: 0 / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.3129, allocations: 31.97 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3133, allocations: 257 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3134, allocations: 46.38 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.3135, allocations: 24.91 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3135, allocations: 0 / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3136, allocations: 38.55 kB / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3136, allocations: 0 / 1.02 GB, free: 7.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000365/0.314, allocations: 81.59 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.314, allocations: 51.41 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.3141, allocations: 101.8 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3141, allocations: 25.7 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.3142, allocations: 84.27 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.3142, allocations: 7.906 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3143, allocations: 17.7 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3144, allocations: 314.8 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.3145, allocations: 11.98 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.3146, allocations: 15.98 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.3147, allocations: 44.88 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3148, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.315, allocations: 73.45 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.315, allocations: 4 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.315, allocations: 3.984 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.315, allocations: 0 / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.3151, allocations: 8 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3151, allocations: 4.031 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.3152, allocations: 7.984 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3152, allocations: 0 / 1.021 GB, free: 6.93 MB / 0.795 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.158e-05/0.3153, allocations: 113.8 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.3153, allocations: 4.188 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3156, allocations: 68.77 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3156, allocations: 7.969 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3156, allocations: 3.984 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3158, allocations: 161.6 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3158, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.3159, allocations: 11.98 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3159, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3159, allocations: 3.938 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3159, allocations: 7.938 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3159, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3162, allocations: 159.5 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3162, allocations: 81.11 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3162, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.3163, allocations: 11.98 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3164, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3164, allocations: 4.031 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.3164, allocations: 79.28 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3164, allocations: 3.938 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002114/0.3166, allocations: 7.938 kB / 1.022 GB, free: 6.113 MB / 0.795 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.0001708/0.3168, allocations: 103.2 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.317, allocations: 35.97 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3171, allocations: 4.062 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.3171, allocations: 19.97 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.3174, allocations: 11.94 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3178, allocations: 143.7 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3181, allocations: 0.6768 MB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.3181, allocations: 15.5 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.3181, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of Templates: time 0.001977/0.3201, allocations: 0.5439 MB / 1.024 GB, free: 4.504 MB / 0.795 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=400 -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/jenkins1/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