Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001055/0.001055, 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.0007942/0.0007942, allocations: 169.9 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.9112/0.9112, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.794/1.794, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.52e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001498/0.001524, allocations: 0.8135 MB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.002402, allocations: 0.9257 MB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.002449, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002481, allocations: 7.875 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.002561, allocations: 19.75 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.002767, allocations: 47.8 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.002877, allocations: 115.6 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.002976, allocations: 17.28 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.003139, allocations: 83.8 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.003213, allocations: 39.89 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.003233, allocations: 8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-05/0.003275, allocations: 19.92 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.003295, allocations: 23.92 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.003327, allocations: 39.89 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003472, allocations: 131.5 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003474, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003476, allocations: 3.938 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003479, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 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.0004486/0.003928, allocations: 365.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.003965, allocations: 12.75 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.003996, allocations: 38.73 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.004133, allocations: 28.88 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.00442, allocations: 194.5 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.004441, allocations: 8.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.004452, allocations: 4.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.004624, allocations: 120.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004632, allocations: 192 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.004643, allocations: 4.375 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.00465, allocations: 7.938 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.004793, allocations: 71.88 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.005207, allocations: 472.1 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.005351, allocations: 107.8 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.005429, allocations: 58.55 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.005448, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.005466, allocations: 34.56 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.005467, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003292/0.005796, allocations: 165.6 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.005838, allocations: 111 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.00592, allocations: 144.8 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.005936, allocations: 33.7 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.005983, allocations: 100.4 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.006006, allocations: 27.75 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.006041, allocations: 29.7 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.006125, allocations: 322.8 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.006203, allocations: 39.97 kB / 1.004 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.006319, allocations: 166.2 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.006457, allocations: 98.42 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006459, allocations: 3.938 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000181/0.00664, allocations: 141.5 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006651, allocations: 4 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.006655, allocations: 4 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006666, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.006737, allocations: 15.98 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006742, allocations: 0 / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.006801, allocations: 27.92 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.006807, allocations: 0 / 1.005 GB, free: 7.902 MB / 0.9636 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 7.341e-05/0.00688, allocations: 132.7 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.006911, allocations: 11.95 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.007049, allocations: 85.98 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007052, allocations: 4 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.007057, allocations: 0 / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00706, allocations: 0 / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.00725, allocations: 172.7 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.007251, allocations: 0 / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.007295, allocations: 23.92 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007297, allocations: 0 / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.007309, allocations: 12.05 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007311, allocations: 4 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007312, allocations: 0 / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.007538, allocations: 373.9 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.007548, allocations: 7.953 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.007563, allocations: 0 / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.007664, allocations: 23.97 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.007718, allocations: 27.89 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.007723, allocations: 4 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.00777, allocations: 109.5 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00777, allocations: 4 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002001/0.007971, allocations: 16 kB / 1.006 GB, free: 6.836 MB / 0.9636 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.0004317/0.008402, allocations: 0.9023 MB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.008608, allocations: 96.09 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00861, allocations: 3.938 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.008691, allocations: 51.98 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.008997, allocations: 22.34 kB / 1.007 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.01036, allocations: 1.815 MB / 1.009 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.01043, allocations: 88.38 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.01048, allocations: 16.64 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.01055, allocations: 32.48 kB / 1.009 GB, free: 3.668 MB / 0.9636 GB Notification: Performance of SimCode: time 7.91e-07/0.01055, allocations: 3.938 kB / 1.009 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.0264, allocations: 3.436 MB / 1.012 GB, free: 376 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.772/6.799, allocations: 3.984 kB / 1.012 GB, free: 372 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.045075158588588]