Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00125/0.00125, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.001183/0.001183, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.319/1.319, 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 12.0.0-master/package.mo): time 2.641/2.641, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 71.69 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6951, allocations: 162.2 MB / 1.083 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001795/0.6969, allocations: 0.6633 MB / 1.084 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.6978, allocations: 0.8016 MB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.6978, allocations: 0 / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.6979, allocations: 1.516 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.6979, allocations: 7.938 kB / 1.084 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.6981, allocations: 22.66 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.6981, allocations: 23.03 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.6982, allocations: 5.094 kB / 1.084 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.6983, allocations: 12.45 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.6983, allocations: 9.766 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6983, allocations: 5.562 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.6984, allocations: 2.312 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.6984, allocations: 1.328 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.6984, allocations: 11.97 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.601e-05/0.6985, allocations: 24.7 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6985, allocations: 0 / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6985, allocations: 4.688 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6985, allocations: 0 / 1.084 GB, free: 0.5664 MB / 0.8262 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.000332/0.6988, allocations: 335.1 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6989, allocations: 10.02 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.6989, allocations: 2.094 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.41e-05/0.699, allocations: 163.5 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.699, allocations: 4.375 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.699, allocations: 2.781 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.6992, allocations: 52.36 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6992, allocations: 0.9062 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.6992, allocations: 7.875 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6992, allocations: 0.6562 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.6994, allocations: 33.45 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.6998, allocations: 254.4 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.6999, allocations: 35.86 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.7, allocations: 23.95 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7001, allocations: 0.7969 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7001, allocations: 35.66 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7001, allocations: 0.7188 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004044/0.7005, allocations: 88 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.7006, allocations: 52.31 kB / 1.086 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.7007, allocations: 100.6 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.7007, allocations: 26.7 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.7008, allocations: 90.33 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.7008, allocations: 4.562 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.7008, allocations: 16.86 kB / 1.086 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.701, allocations: 317.5 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.701, allocations: 13.95 kB / 1.086 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.7011, allocations: 17.77 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.7013, allocations: 41.56 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7013, allocations: 1.156 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.7015, allocations: 74.95 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7015, allocations: 4.906 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.7016, allocations: 0 / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.7016, allocations: 1.641 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.909e-05/0.7017, allocations: 11.91 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7017, allocations: 1.969 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.7017, allocations: 9.891 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7017, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 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 8.289e-05/0.7018, allocations: 116.8 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.7019, allocations: 1.688 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.7021, allocations: 78.41 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7021, allocations: 1.906 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7021, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.7021, allocations: 0 / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.7023, allocations: 160.7 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7023, allocations: 3.938 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.7024, allocations: 8.672 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.7024, allocations: 2.047 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.7024, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7024, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7024, allocations: 1.281 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.7026, allocations: 165.9 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.7027, allocations: 79.05 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.7027, allocations: 9.734 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.7028, allocations: 6.047 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.7028, allocations: 2.203 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.7028, allocations: 4.75 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.7029, allocations: 80.81 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7029, allocations: 0 / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002081/0.7031, allocations: 3.25 kB / 1.087 GB, free: 14.16 MB / 0.8419 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.0001301/0.7032, allocations: 99.75 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.7035, allocations: 42.59 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7035, allocations: 4.062 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.7036, allocations: 17.09 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.7039, allocations: 14.59 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.7042, allocations: 138.8 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.7045, allocations: 0.677 MB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.7045, allocations: 12.81 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.7045, allocations: 0 / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.00202/0.7066, allocations: 0.5458 MB / 1.088 GB, free: 13.16 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches