Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007978/0.0007978, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.451e-05, allocations: 2.281 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001573/0.001597, allocations: 0.8304 MB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009726/0.00257, allocations: 0.9172 MB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.002624, allocations: 0 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.002659, allocations: 7.875 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.002753, allocations: 23.75 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.002988, allocations: 51.81 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.003114, allocations: 111.6 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003223, allocations: 25.28 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.003419, allocations: 67.88 kB / 0.983 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.471e-05/0.003483, allocations: 47.81 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.003505, allocations: 12 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.003551, allocations: 12 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.00357, allocations: 23.91 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.003602, allocations: 31.91 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003766, allocations: 143.5 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003769, allocations: 0 / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.723e-06/0.00377, allocations: 0 / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003775, allocations: 0 / 0.9833 GB, free: 216 kB / 0.9323 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.0005238/0.004299, allocations: 369.7 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.004341, allocations: 8.031 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.004376, allocations: 38.73 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.004541, allocations: 36.83 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.004847, allocations: 188.2 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.004871, allocations: 4.375 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.004887, allocations: 16.31 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.005087, allocations: 116.7 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.005095, allocations: 4.188 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.005107, allocations: 384 / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.005114, allocations: 7.938 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.005267, allocations: 75.86 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.005717, allocations: 456.2 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.005882, allocations: 115.8 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.005963, allocations: 50.59 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.005991, allocations: 11.88 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.006012, allocations: 34.56 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.006013, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003502/0.006363, allocations: 161.5 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.006407, allocations: 102.8 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.006496, allocations: 149.2 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.006519, allocations: 33.69 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.006575, allocations: 112.2 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.006603, allocations: 27.78 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.006642, allocations: 29.7 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.006723, allocations: 319.1 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.00681, allocations: 43.97 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.006939, allocations: 162.2 kB / 0.9858 GB, free: 13.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.007094, allocations: 94.61 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007097, allocations: 4 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000211/0.007308, allocations: 145.5 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.007325, allocations: 4 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.007331, allocations: 0 / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.007346, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.007434, allocations: 15.98 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.00744, allocations: 3.938 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.007502, allocations: 19.98 kB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.007513, allocations: 8.047 kB / 0.9861 GB, free: 13.01 MB / 0.948 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 8.852e-05/0.007601, allocations: 125.7 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.007639, allocations: 19.91 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.007801, allocations: 85.98 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.007805, allocations: 4 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.007809, allocations: 0 / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.007811, allocations: 0 / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.008012, allocations: 168.7 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.008015, allocations: 4 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.008066, allocations: 15.98 kB / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008068, allocations: 0 / 0.9865 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.008078, allocations: 8 kB / 0.9865 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.008082, allocations: 7.922 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008083, allocations: 0 / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.008326, allocations: 365.9 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.008339, allocations: 15.84 kB / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.008357, allocations: 4 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.00846, allocations: 15.97 kB / 0.9869 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.008522, allocations: 23.95 kB / 0.9869 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.008527, allocations: 4 kB / 0.9869 GB, free: 12.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.008577, allocations: 119.2 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008577, allocations: 0 / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002053/0.008783, allocations: 12 kB / 0.9871 GB, free: 11.95 MB / 0.948 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.0004588/0.009242, allocations: 0.9101 MB / 0.988 GB, free: 11.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.009454, allocations: 92.02 kB / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009456, allocations: 4 kB / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.009541, allocations: 47.91 kB / 0.9881 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.00989, allocations: 11.98 kB / 0.9881 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.01137, allocations: 1.83 MB / 0.9899 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.01144, allocations: 80.33 kB / 0.99 GB, free: 8.824 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.0115, allocations: 20.69 kB / 0.99 GB, free: 8.801 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.01157, allocations: 40.47 kB / 0.99 GB, free: 8.762 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.01157, allocations: 4 kB / 0.99 GB, free: 8.758 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.02874, allocations: 3.432 MB / 0.9934 GB, free: 5.473 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.747, allocations: 7.469 kB / 0.9934 GB, free: 5.469 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.969871405512094]