Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_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_latest_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.001613/0.001613, allocations: 109.3 kB / 16.42 MB, free: 6.434 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.001942/0.001942, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.84 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9191, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.003092/0.9223, allocations: 0.8503 MB / 1.227 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.9237, allocations: 0.878 MB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.529e-05/0.9238, allocations: 0 / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.9239, allocations: 11.86 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.9241, allocations: 19.8 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.9243, allocations: 35.89 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.9245, allocations: 123.7 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.9247, allocations: 21.11 kB / 1.228 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.9249, allocations: 51.78 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.925, allocations: 55.75 kB / 1.228 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.9251, allocations: 8 kB / 1.228 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.9251, allocations: 16 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.9252, allocations: 23.91 kB / 1.228 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.9252, allocations: 51.72 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.9254, allocations: 116 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9255, allocations: 0 / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9255, allocations: 0 / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9255, allocations: 0 / 1.229 GB, free: 11.24 MB / 0.9512 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.0008174/0.9263, allocations: 454.8 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.9264, allocations: 8.031 kB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.9264, allocations: 12.84 kB / 1.229 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.927, allocations: 256.2 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.927, allocations: 8.375 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.927, allocations: 12.31 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.9273, allocations: 112.8 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.9274, allocations: 7.938 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.9274, allocations: 3.938 kB / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9274, allocations: 0 / 1.229 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.9277, allocations: 87.89 kB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.9284, allocations: 497 kB / 1.23 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.9287, allocations: 119.8 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.9288, allocations: 50.61 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.9289, allocations: 0 / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.9289, allocations: 46.48 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.9289, allocations: 3.938 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.000611/0.9295, allocations: 153.7 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.9296, allocations: 110.8 kB / 1.23 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.9298, allocations: 147.7 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.9298, allocations: 33.7 kB / 1.231 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.9299, allocations: 108.2 kB / 1.231 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.93, allocations: 27.91 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.93, allocations: 25.72 kB / 1.231 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9302, allocations: 326.8 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.9304, allocations: 43.95 kB / 1.231 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.9305, allocations: 89.05 kB / 1.231 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.9308, allocations: 90.52 kB / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9309, allocations: 0 / 1.231 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003651/0.9312, allocations: 141.5 kB / 1.231 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9313, allocations: 5.25 kB / 1.231 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9313, allocations: 3.984 kB / 1.231 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.9313, allocations: 4 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.9314, allocations: 27.91 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.9315, allocations: 0 / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.9316, allocations: 23.92 kB / 1.232 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.9316, allocations: 0 / 1.232 GB, free: 7.953 MB / 0.9512 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 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.9318, allocations: 122.3 kB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.9318, allocations: 15.89 kB / 1.232 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.9321, allocations: 98.16 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.9322, allocations: 4.031 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.9322, allocations: 4 kB / 1.232 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.9322, allocations: 81.06 kB / 1.232 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.9323, allocations: 4 kB / 1.232 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.9325, allocations: 19.92 kB / 1.232 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.9326, allocations: 27.89 kB / 1.232 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005326/0.9331, allocations: 363.4 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004747/0.9336, allocations: 453.1 kB / 1.233 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001707/0.9338, allocations: 47.95 kB / 1.233 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.394e-05/0.9339, allocations: 113.5 kB / 1.233 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of Backend: time 4.41e-07/0.9339, allocations: 0 / 1.233 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007495/0.9347, allocations: 142.3 kB / 1.233 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006905/0.9354, allocations: 0.6314 MB / 1.234 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.00478/0.9401, allocations: 1.532 MB / 1.235 GB, free: 4.219 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches