Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006465/0.006465, allocations: 96.41 kB / 15.73 MB, free: 6.055 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.001719/0.001719, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 71.88 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.291, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001868/0.2929, allocations: 0.8441 MB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.294, allocations: 0.8818 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.294, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.2941, allocations: 11.88 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.2941, allocations: 15.75 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.2943, allocations: 43.92 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2945, allocations: 107.7 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2946, allocations: 33.09 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2947, allocations: 55.77 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.2948, allocations: 55.75 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.2948, allocations: 11.98 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.2949, allocations: 12 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.2949, allocations: 23.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.295, allocations: 47.72 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.2951, allocations: 123.4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2951, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2952, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.2952, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 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.0006609/0.2958, allocations: 446.8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2959, allocations: 8.031 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.2959, allocations: 46.73 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.296, allocations: 12.84 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.2964, allocations: 256.3 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2965, allocations: 4.375 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.2965, allocations: 8.375 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.2968, allocations: 120.4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2968, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2968, allocations: 4 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2968, allocations: 0 / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2971, allocations: 75.92 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.2977, allocations: 0.4971 MB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.2979, allocations: 111.8 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.2981, allocations: 58.61 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2981, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.2982, allocations: 38.5 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.2982, allocations: 3.938 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005637/0.2988, allocations: 161.5 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.2988, allocations: 106.8 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.299, allocations: 148.6 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.299, allocations: 33.7 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.2991, allocations: 112.5 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.2991, allocations: 31.72 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.2992, allocations: 25.72 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2993, allocations: 326.8 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2994, allocations: 35.97 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.2996, allocations: 85.11 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2999, allocations: 90.45 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2999, allocations: 0 / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003565/0.3003, allocations: 149.7 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3003, allocations: 6.344 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3003, allocations: 48 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3003, allocations: 7.984 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3005, allocations: 15.98 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3005, allocations: 3.984 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3006, allocations: 19.98 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3006, allocations: 4 kB / 1.225 GB, free: 8.621 MB / 0.9825 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.0001044/0.3007, allocations: 125.7 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3008, allocations: 15.91 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.301, allocations: 85.89 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.301, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3011, allocations: 8.062 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3011, allocations: 4 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3014, allocations: 205.6 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3014, allocations: 0 / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3015, allocations: 15.98 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3015, allocations: 4 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3015, allocations: 3.984 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3015, allocations: 7.875 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3015, allocations: 7.984 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.302, allocations: 369.9 kB / 1.226 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.302, allocations: 92.95 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.302, allocations: 0 / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3022, allocations: 15.97 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3023, allocations: 27.97 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3023, allocations: 11.92 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.3024, allocations: 108.1 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3024, allocations: 3.938 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002939/0.3027, allocations: 19.94 kB / 1.226 GB, free: 7.406 MB / 0.9825 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.0007543/0.3035, allocations: 0.899 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.3039, allocations: 103.8 kB / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3039, allocations: 0 / 1.227 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.304, allocations: 51.89 kB / 1.227 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3044, allocations: 25.31 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3066, allocations: 1.805 MB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3069, allocations: 0.7002 MB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.366e-05/0.307, allocations: 20.95 kB / 1.23 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.3071, allocations: 35.53 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3071, allocations: 0 / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7404/1.047, allocations: 2.713 MB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.86, allocations: 3.938 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches