Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001301/0.001301, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.865/2.865, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 16 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8505, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001199/0.8518, allocations: 0.5409 MB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.8529, allocations: 0.8741 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.853, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.853, allocations: 7.875 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.8531, allocations: 19.86 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.8533, allocations: 27.95 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.8535, allocations: 91.7 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.8536, allocations: 29.03 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.8537, allocations: 51.77 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.8538, allocations: 51.77 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.8539, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.8539, allocations: 4 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.8539, allocations: 27.89 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.854, allocations: 37.64 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.8541, allocations: 77.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.8541, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8541, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8541, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006505/0.8548, allocations: 446.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8548, allocations: 8.562 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.8549, allocations: 15.89 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.8554, allocations: 264.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.8554, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.8554, allocations: 15.95 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.8557, allocations: 120.2 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8557, allocations: 4 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.8557, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8557, allocations: 4 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.856, allocations: 91.86 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.8567, allocations: 0.5048 MB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.8569, allocations: 123.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.8571, allocations: 62.61 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.8571, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.8571, allocations: 38.56 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.8571, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005869/0.8577, allocations: 185.5 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.8578, allocations: 106.8 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.8579, allocations: 148.7 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.858, allocations: 29.7 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.8581, allocations: 108.3 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.8581, allocations: 27.72 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.8581, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8583, allocations: 326.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8584, allocations: 55.89 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.8586, allocations: 93.05 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.8588, allocations: 51.91 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8588, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003455/0.8591, allocations: 153.5 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.8592, allocations: 4 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8592, allocations: 7.938 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8592, allocations: 336 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.8593, allocations: 23.97 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8594, allocations: 7.984 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.8595, allocations: 23.89 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.8595, allocations: 8 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.hysteresis.y,hysteresis.y,$PRE.hysteresis1.y,hysteresis1.y,$PRE.hysteresis2.y,hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.8596, allocations: 125.7 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.8597, allocations: 15.89 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.86, allocations: 97.84 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.86, allocations: 7.984 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.86, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.86, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.8604, allocations: 205.5 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8604, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.8605, allocations: 19.98 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8605, allocations: 8 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.8605, allocations: 3.984 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8605, allocations: 3.938 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8605, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.861, allocations: 381.9 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.861, allocations: 85 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.8611, allocations: 8 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.8613, allocations: 19.98 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.8614, allocations: 23.95 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.8614, allocations: 7.984 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.8615, allocations: 112.4 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8615, allocations: 0 / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000318/0.8618, allocations: 20 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002072/0.862, allocations: 117.4 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.8624, allocations: 115.9 kB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8624, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.8626, allocations: 55.91 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.8631, allocations: 21.5 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.8636, allocations: 243.2 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.864, allocations: 0.7043 MB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.402e-05/0.8641, allocations: 16.64 kB / 1.029 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.8641, allocations: 23.42 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of SimCode: time 6.62e-07/0.8641, allocations: 0 / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003805/0.8679, allocations: 1.069 MB / 1.031 GB, free: 7.254 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches