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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001416/0.001416, allocations: 105.2 kB / 16.41 MB, free: 6.488 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.001617/0.001617, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 75.88 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.021, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002637/1.024, allocations: 0.8445 MB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001346/1.026, allocations: 0.892 MB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.228e-05/1.026, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/1.026, allocations: 11.86 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/1.026, allocations: 15.81 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/1.026, allocations: 43.88 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/1.026, allocations: 111.7 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/1.027, allocations: 33.09 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/1.027, allocations: 55.78 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/1.027, allocations: 51.75 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/1.027, allocations: 12 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.231e-05/1.027, allocations: 8 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/1.027, allocations: 27.91 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/1.027, allocations: 51.73 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/1.027, allocations: 123.3 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.027, allocations: 0 / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.683e-06/1.027, allocations: 0 / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.027, allocations: 0 / 1.17 GB, free: 1.508 MB / 0.8887 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.0007723/1.028, allocations: 436.8 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.028, allocations: 16.92 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/1.028, allocations: 12.75 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/1.029, allocations: 260.1 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/1.029, allocations: 4.375 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/1.029, allocations: 8.375 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/1.029, allocations: 114.3 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.029, allocations: 7.875 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.029, allocations: 4 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.029, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/1.029, allocations: 75.92 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/1.03, allocations: 0.4895 MB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/1.031, allocations: 119.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.031, allocations: 54.61 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.031, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.031, allocations: 46.48 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/1.031, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005958/1.032, allocations: 157.3 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/1.032, allocations: 107.1 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/1.032, allocations: 152.3 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/1.032, allocations: 33.7 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/1.032, allocations: 100.4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/1.032, allocations: 27.64 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/1.032, allocations: 29.66 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.032, allocations: 326.8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/1.032, allocations: 43.95 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/1.032, allocations: 85.05 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/1.033, allocations: 90.52 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.033, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003584/1.033, allocations: 141.4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.033, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.033, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.033, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/1.033, allocations: 23.91 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.033, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/1.033, allocations: 19.98 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/1.033, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 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.0001177/1.034, allocations: 125.7 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/1.034, allocations: 15.8 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/1.034, allocations: 97.83 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.034, allocations: 384 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.034, allocations: 4.062 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.034, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/1.034, allocations: 201.5 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/1.034, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/1.034, allocations: 19.97 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.034, allocations: 7.984 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.034, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.034, allocations: 0 / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.035, allocations: 11.94 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/1.035, allocations: 369.8 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/1.035, allocations: 89 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/1.035, allocations: 4 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/1.035, allocations: 15.92 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/1.035, allocations: 27.95 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/1.035, allocations: 4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.066e-05/1.035, allocations: 118 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/1.035, allocations: 0 / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003277/1.036, allocations: 15.91 kB / 1.174 GB, free: 13.04 MB / 0.9044 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 (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.0001713/1.036, allocations: 115.2 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003749/1.036, allocations: 91.92 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.036, allocations: 3.938 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.037, allocations: 48.09 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/1.037, allocations: 19.92 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/1.038, allocations: 233.2 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/1.038, allocations: 0.6963 MB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/1.038, allocations: 27.42 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/1.038, allocations: 4 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.003481/1.041, allocations: 1.502 MB / 1.176 GB, free: 10.23 MB / 0.9044 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/jenkins1/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