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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 106.8 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 443.5 MB / 0.7304 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.89 kB / 1.059 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2693, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001914/0.2712, allocations: 0.8479 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2724, allocations: 0.8974 MB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.2724, allocations: 4 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.2724, allocations: 11.88 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.107e-05/0.2725, allocations: 11.81 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.2727, allocations: 43.92 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2729, allocations: 111.6 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.273, allocations: 21.05 kB / 1.218 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.2731, allocations: 55.83 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.2732, allocations: 51.75 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2732, allocations: 15.98 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.2732, allocations: 15.94 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.2733, allocations: 23.92 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.2733, allocations: 51.72 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2735, allocations: 115.7 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2735, allocations: 4 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2735, allocations: 0 / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2735, allocations: 3.938 kB / 1.218 GB, free: 13.62 MB / 0.9669 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.000722/0.2742, allocations: 446.8 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2743, allocations: 8.031 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.2743, allocations: 42.73 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.2744, allocations: 16.84 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.2749, allocations: 246.1 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2749, allocations: 12.31 kB / 1.219 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.2749, allocations: 8.375 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2752, allocations: 124.5 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.2752, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2752, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2752, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2755, allocations: 83.86 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.2761, allocations: 0.4931 MB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2764, allocations: 111.8 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2765, allocations: 50.61 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2766, allocations: 8 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.2766, allocations: 34.56 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.2766, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005966/0.2772, allocations: 165.6 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.2773, allocations: 102.8 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.2774, allocations: 151.3 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2774, allocations: 33.7 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.2775, allocations: 104.3 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.2775, allocations: 27.78 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.2776, allocations: 21.72 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2777, allocations: 334.8 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2779, allocations: 39.97 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2781, allocations: 77.11 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2783, allocations: 106.6 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2783, allocations: 0 / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003622/0.2787, allocations: 141.5 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2787, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2787, allocations: 11.98 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2787, allocations: 4 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.2789, allocations: 15.98 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2789, allocations: 11.92 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.279, allocations: 11.98 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.279, allocations: 7.938 kB / 1.221 GB, free: 10.3 MB / 0.9669 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.0001041/0.2791, allocations: 125.7 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.2792, allocations: 19.91 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.2794, allocations: 81.89 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2794, allocations: 4 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2794, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2795, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.2798, allocations: 209.6 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2798, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2799, allocations: 23.92 kB / 1.221 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2799, allocations: 4 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2799, allocations: 3.984 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2799, allocations: 4 kB / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2799, allocations: 0 / 1.221 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.2803, allocations: 370.6 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.2804, allocations: 89.02 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2804, allocations: 8 kB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2806, allocations: 15.97 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.2807, allocations: 19.97 kB / 1.222 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2807, allocations: 11.92 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.2808, allocations: 105.9 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2808, allocations: 4 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003161/0.2811, allocations: 20 kB / 1.222 GB, free: 9.102 MB / 0.9669 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.0007801/0.2819, allocations: 0.9023 MB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.2822, allocations: 100.1 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2822, allocations: 0 / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2824, allocations: 48.02 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.2828, allocations: 24.22 kB / 1.223 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.285, allocations: 1.817 MB / 1.225 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.2853, allocations: 0.7002 MB / 1.225 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.407e-05/0.2854, allocations: 16.64 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.2855, allocations: 35.42 kB / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.2855, allocations: 0 / 1.225 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.311, allocations: 2.713 MB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.377, allocations: 9.562 kB / 1.228 GB, free: 2.676 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/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) [Timeout 300] "Error: Could not read variable hysteresis.y in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.677328053003293]