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.001129/0.001129, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001279/0.001279, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.454/2.454, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.86 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002225/0.2826, allocations: 0.8519 MB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2838, allocations: 0.874 MB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2839, allocations: 4 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.284, allocations: 7.875 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2841, allocations: 15.8 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2844, allocations: 47.88 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.2845, allocations: 111.7 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2846, allocations: 33.09 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.2848, allocations: 55.77 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.2849, allocations: 51.77 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.2849, allocations: 12 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.285, allocations: 8 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.285, allocations: 23.91 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.2851, allocations: 51.72 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.2852, allocations: 115.8 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2852, allocations: 4 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2852, allocations: 0 / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.2852, allocations: 4 kB / 1.02 GB, free: 8.344 MB / 0.795 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.0007018/0.286, allocations: 446.8 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.286, allocations: 8.922 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.2861, allocations: 20.78 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.2866, allocations: 258.1 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.2866, allocations: 12.31 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.2867, allocations: 8.375 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.2869, allocations: 113.3 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.287, allocations: 3.938 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.287, allocations: 4 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.287, allocations: 4 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2873, allocations: 75.86 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.2879, allocations: 0.4931 MB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2882, allocations: 113.3 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.2883, allocations: 58.61 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2884, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2884, allocations: 42.55 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2884, allocations: 4 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.289, allocations: 149.4 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.2891, allocations: 115 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2892, allocations: 152.6 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2892, allocations: 25.7 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.2893, allocations: 112.4 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.2893, allocations: 31.62 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.2894, allocations: 21.72 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2895, allocations: 326.8 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2897, allocations: 47.95 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.2899, allocations: 81 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.2902, allocations: 102.7 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2902, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003613/0.2905, allocations: 137.5 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2906, allocations: 8 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2906, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2906, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2908, allocations: 27.97 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2908, allocations: 0 / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.2909, allocations: 15.89 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.291, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 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 9.61e-05/0.2911, allocations: 130.2 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.2911, allocations: 7.906 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.2914, allocations: 89.89 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2914, allocations: 3.984 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2914, allocations: 0 / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2914, allocations: 4 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.2917, allocations: 209.5 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2918, allocations: 3.938 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.2919, allocations: 19.92 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2919, allocations: 0 / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2919, allocations: 7.984 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2919, allocations: 4 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2919, allocations: 0 / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.2924, allocations: 373.8 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2924, allocations: 92.94 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2924, allocations: 8 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2927, allocations: 11.98 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.2927, allocations: 19.97 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2928, allocations: 7.984 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.2928, allocations: 115.2 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2928, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003254/0.2932, allocations: 16 kB / 1.024 GB, free: 3.867 MB / 0.795 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.0001356/0.2933, allocations: 115.2 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.2937, allocations: 95.86 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2937, allocations: 0 / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2939, allocations: 56.03 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2944, allocations: 11.98 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004776/0.2949, allocations: 230.9 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2951, allocations: 0.704 MB / 1.025 GB, free: 2.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.2952, allocations: 23.42 kB / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.2952, allocations: 0 / 1.025 GB, free: 2.566 MB / 0.795 GB Notification: Performance of Templates: time 0.00305/0.2983, allocations: 1.499 MB / 1.027 GB, free: 1.07 MB / 0.795 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