Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, 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.001716/0.001716, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.585/1.585, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.055/3.055, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 66.47 kB / 0.9121 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3933, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002781/0.3961, allocations: 0.6665 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3975, allocations: 0.7983 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.3976, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.3976, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.3978, allocations: 7.922 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.3979, allocations: 15.92 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.488e-05/0.398, allocations: 23.92 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3982, allocations: 8 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.3983, allocations: 7.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.3983, allocations: 11.98 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3983, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.3984, allocations: 8 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3984, allocations: 7.938 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.3984, allocations: 7.984 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.3985, allocations: 23.89 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3986, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3986, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3986, allocations: 0 / 1.07 GB, free: 8.762 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.0004992/0.3991, allocations: 337.5 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3991, allocations: 8.031 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3992, allocations: 8.938 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3993, allocations: 168.3 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3993, allocations: 384 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3994, allocations: 4.375 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3996, allocations: 50.17 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3996, allocations: 4.188 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3996, allocations: 3.938 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3996, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3998, allocations: 35.95 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4002, allocations: 241 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.4004, allocations: 54.36 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.4005, allocations: 16.91 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4005, allocations: 4 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4005, allocations: 34.56 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.4005, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003941/0.4009, allocations: 81.55 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.401, allocations: 51.41 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.4011, allocations: 106 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4011, allocations: 29.64 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.4012, allocations: 84.12 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4012, allocations: 7.906 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.4012, allocations: 13.72 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4014, allocations: 310.8 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.4015, allocations: 15.98 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.4016, allocations: 23.97 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4017, allocations: 32.83 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4017, allocations: 4 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.4019, allocations: 73.53 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.402, allocations: 5.719 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.402, allocations: 4.281 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.402, allocations: 4 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.4021, allocations: 11.92 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4021, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.4022, allocations: 7.984 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4022, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 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.803e-05/0.4023, allocations: 117.8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.4023, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.4025, allocations: 76.78 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.4028, allocations: 157.6 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.4028, allocations: 11.98 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4029, allocations: 7.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4029, allocations: 7.969 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4029, allocations: 0 / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.4031, allocations: 167.4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.4032, allocations: 77.11 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.4032, allocations: 3.984 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.4033, allocations: 8.031 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.4033, allocations: 7.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.4033, allocations: 0 / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.4034, allocations: 83.28 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003207/0.4037, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 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.000184/0.4039, allocations: 95.78 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.4042, allocations: 43.89 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4042, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.4043, allocations: 19.98 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.4046, allocations: 11.88 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.405, allocations: 106.7 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4054, allocations: 0.6808 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.618e-05/0.4054, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.4054, allocations: 7.438 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of SimCode: time 6.52e-07/0.4054, allocations: 4 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.002895/0.4083, allocations: 446.7 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches