Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108.8 kB / 16.41 MB, free: 6.355 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.001294/0.001295, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.452/2.452, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6937, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001773/0.6955, allocations: 0.5882 MB / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.692e-05/0.6956, allocations: 3.938 kB / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.6956, allocations: 4 kB / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.6957, allocations: 0 / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.6957, allocations: 0 / 1.209 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.308e-05/0.6958, allocations: 4 kB / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.6958, allocations: 0 / 1.209 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.353e-05/0.6959, allocations: 7.984 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.6959, allocations: 7.938 kB / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.832e-05/0.6959, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.696, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.696, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.696, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.696, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.351e-05/0.6961, allocations: 0 / 1.209 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6961, allocations: 8 kB / 1.209 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.947e-06/0.6961, allocations: 0 / 1.209 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6961, allocations: 3.938 kB / 1.209 GB, free: 13.14 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002868/0.6964, allocations: 315.6 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6964, allocations: 12.03 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.6965, allocations: 0.9375 kB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.6966, allocations: 160.4 kB / 1.21 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6966, allocations: 4.312 kB / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.6966, allocations: 384 / 1.21 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.6967, allocations: 30.27 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6967, allocations: 192 / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.6967, allocations: 3.938 kB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.6967, allocations: 7.984 kB / 1.21 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.6968, allocations: 8 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.697, allocations: 379.4 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.6971, allocations: 181 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.6972, allocations: 80.14 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.6972, allocations: 83.27 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6972, allocations: 105.8 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6972, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.338e-05/0.6973, allocations: 25.7 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6974, allocations: 134.6 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.168e-05/0.6975, allocations: 93.95 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.6975, allocations: 29.73 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.6975, allocations: 84.14 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.6975, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.6975, allocations: 9.719 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.6976, allocations: 314.8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.6976, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.6976, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.6977, allocations: 75.28 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.6977, allocations: 83.28 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.611e-05/0.6978, allocations: 33.55 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.6978, allocations: 83.28 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.6978, allocations: 83.25 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.944e-05/0.6979, allocations: 154.6 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.599e-05/0.6979, allocations: 79.22 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.21e-05/0.698, allocations: 154.5 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.698, allocations: 87.22 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.6981, allocations: 79.22 kB / 1.212 GB, free: 9.996 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.995e-05/0.6982, allocations: 264.3 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.6982, allocations: 105 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.6983, allocations: 108 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-05/0.6984, allocations: 184.2 kB / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-05/0.6984, allocations: 180.3 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-05/0.6985, allocations: 184.2 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.6987, allocations: 405.2 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/0.6988, allocations: 104.9 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.6988, allocations: 105 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.118e-05/0.6989, allocations: 184.2 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.6989, allocations: 176.3 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.455e-05/0.699, allocations: 184.2 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-05/0.699, allocations: 188.2 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.6992, allocations: 308.1 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.6993, allocations: 186.1 kB / 1.215 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.689e-05/0.6994, allocations: 176.3 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.6995, allocations: 112.9 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.6996, allocations: 180.3 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.6997, allocations: 108.9 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.6997, allocations: 79.28 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.6997, allocations: 0 / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000269/0.7, allocations: 4 kB / 1.215 GB, free: 6.32 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0001917/0.7002, allocations: 174.5 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.399e-05/0.7002, allocations: 0 / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7002, allocations: 0 / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.7003, allocations: 4.094 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.7007, allocations: 459.6 kB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.701, allocations: 181.9 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.7012, allocations: 0.6768 MB / 1.217 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.7013, allocations: 7.438 kB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.7013, allocations: 0 / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.001852/0.7031, allocations: 327.8 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches