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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.689/2.689, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 59.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7757/0.7773, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002214/0.7795, allocations: 0.6608 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.7806, allocations: 0.8118 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.7807, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.7807, allocations: 3.938 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.7808, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.781, allocations: 7.984 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.7811, allocations: 23.92 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.7812, allocations: 8 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.7813, allocations: 7.938 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.7814, allocations: 15.97 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.7814, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.7814, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.7814, allocations: 11.94 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.7815, allocations: 3.984 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.7816, allocations: 31.84 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7816, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7816, allocations: 0 / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.7816, allocations: 4 kB / 1.019 GB, free: 0.9062 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.0005305/0.7821, allocations: 333.4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7822, allocations: 8.031 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.7822, allocations: 4.938 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.7824, allocations: 168.3 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7824, allocations: 384 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.7824, allocations: 384 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.7826, allocations: 54.17 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7826, allocations: 192 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.7827, allocations: 3.938 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7827, allocations: 4 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.7828, allocations: 39.89 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.7833, allocations: 245 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.7834, allocations: 42.48 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.7835, allocations: 24.91 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.7836, allocations: 3.984 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.7836, allocations: 34.56 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7836, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.784, allocations: 81.58 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.784, allocations: 55.53 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.7841, allocations: 97.86 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7842, allocations: 29.69 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.7842, allocations: 92.08 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.7842, allocations: 7.891 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.7843, allocations: 13.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7844, allocations: 314.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.7845, allocations: 19.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.7846, allocations: 15.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.7848, allocations: 40.83 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7848, allocations: 3.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.785, allocations: 69.59 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.785, allocations: 8.094 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.785, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7851, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.7852, allocations: 11.98 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7852, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.7852, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.7852, allocations: 0 / 1.021 GB, free: 14.88 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.617e-05/0.7853, allocations: 117.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.7854, allocations: 7.906 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.7856, allocations: 72.72 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7856, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7856, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.7856, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.7858, allocations: 157.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7858, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.7859, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7859, allocations: 4.031 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.7859, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7859, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7859, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.7861, allocations: 167.4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.7862, allocations: 81.09 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7862, allocations: 7.969 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.7863, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.7863, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.7864, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.7864, allocations: 79.28 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7864, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002102/0.7866, allocations: 4 kB / 1.021 GB, free: 14.07 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.000142/0.7868, allocations: 103.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.787, allocations: 35.95 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.787, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.7871, allocations: 23.92 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.7874, allocations: 11.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.7878, allocations: 118.2 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.7881, allocations: 0.6768 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.7881, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.7882, allocations: 7.438 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7882, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.002661/0.7908, allocations: 428.4 kB / 1.023 GB, free: 12.62 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