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.001489/0.001489, 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.001803/0.001803, allocations: 191.9 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.741/2.741, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7733/0.7753, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002289/0.7776, allocations: 0.838 MB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.7787, allocations: 0.8934 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.7788, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.7788, allocations: 7.875 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.779, allocations: 15.8 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.7792, allocations: 51.88 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.7793, allocations: 103.7 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.7794, allocations: 33.09 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.7796, allocations: 51.83 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.637e-05/0.7797, allocations: 51.77 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.7797, allocations: 12 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.7798, allocations: 11.94 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.7798, allocations: 27.89 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.7799, allocations: 51.73 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.7801, allocations: 113.5 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7801, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7802, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7802, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 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.0008343/0.781, allocations: 450.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.781, allocations: 12.03 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.7811, allocations: 12.84 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.7816, allocations: 260 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.7816, allocations: 4.375 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.7817, allocations: 8.375 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.782, allocations: 124.6 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.782, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.782, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.782, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.7823, allocations: 79.86 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.7829, allocations: 0.4932 MB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.7832, allocations: 115.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.7833, allocations: 50.61 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.7834, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.7834, allocations: 42.55 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.7834, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005922/0.784, allocations: 153.9 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.7841, allocations: 106.8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.7842, allocations: 155.2 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.7842, allocations: 29.7 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.7843, allocations: 108.3 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.7844, allocations: 23.64 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.7844, allocations: 29.72 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7846, allocations: 322.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.7847, allocations: 51.95 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.7849, allocations: 88.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.7852, allocations: 98.48 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7852, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003634/0.7856, allocations: 133.5 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7856, allocations: 8 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.7856, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7857, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7858, allocations: 23.97 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.7859, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.786, allocations: 15.89 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.786, allocations: 8 kB / 1.022 GB, free: 12.96 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 (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.0001241/0.7861, allocations: 131.2 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.7862, allocations: 11.89 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.7865, allocations: 93.89 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.7865, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.7868, allocations: 197.6 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7868, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.787, allocations: 15.98 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.787, allocations: 7.922 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.787, allocations: 8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.787, allocations: 3.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.787, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.7875, allocations: 373.9 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.7875, allocations: 89.06 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.7875, allocations: 12 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.7878, allocations: 11.98 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.7879, allocations: 23.95 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.7879, allocations: 7.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.788, allocations: 121.4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.788, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003152/0.7883, allocations: 16 kB / 1.023 GB, free: 11.75 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 (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.0001654/0.7885, allocations: 103.2 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.7889, allocations: 100.1 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7889, allocations: 3.938 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.7891, allocations: 52 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.7896, allocations: 21.48 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.7901, allocations: 203.8 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.7904, allocations: 0.7041 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.7905, allocations: 16.64 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.7905, allocations: 23.42 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7905, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.004554/0.7951, allocations: 1.348 MB / 1.026 GB, free: 9.125 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