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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001406/0.001406, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 476.7 MB / 0.7628 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.88 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.762/0.7639, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001642/0.7656, allocations: 0.8731 MB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.7664, allocations: 0.8842 MB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.7664, allocations: 1.719 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.7665, allocations: 9.328 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.7665, allocations: 23.75 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.7667, allocations: 37.89 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.7668, allocations: 116.6 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.7669, allocations: 19.47 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.767, allocations: 54.33 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.7671, allocations: 52.75 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.7672, allocations: 12.97 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.7672, allocations: 9.594 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.7672, allocations: 25.23 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.7673, allocations: 53.11 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.7674, allocations: 120.6 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7674, allocations: 4 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7674, allocations: 0 / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7674, allocations: 0.8438 kB / 1.274 GB, free: 6.23 MB / 0.9981 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.0005504/0.7679, allocations: 443.5 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.768, allocations: 9 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.768, allocations: 42.02 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.768, allocations: 19.25 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.7685, allocations: 252.2 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.7685, allocations: 4.25 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.7685, allocations: 9.562 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.7687, allocations: 125.9 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7687, allocations: 0 / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.7688, allocations: 1.375 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7688, allocations: 2.281 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.769, allocations: 71.66 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.7695, allocations: 0.4954 MB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.7697, allocations: 114.4 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.7698, allocations: 53.17 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.7698, allocations: 1.344 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.7698, allocations: 44.47 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7698, allocations: 0 / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.7704, allocations: 156.1 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.7704, allocations: 104 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.7705, allocations: 158.7 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.7705, allocations: 31.77 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.7706, allocations: 108.5 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.7706, allocations: 26.3 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.7706, allocations: 28.41 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.7707, allocations: 326 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.7708, allocations: 43.33 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.771, allocations: 85.98 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.7712, allocations: 84.23 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7712, allocations: 4.844 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003365/0.7716, allocations: 140.6 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7716, allocations: 5.438 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7716, allocations: 5.906 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7716, allocations: 1.25 kB / 1.277 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.7717, allocations: 28.78 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.7717, allocations: 0.875 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.7719, allocations: 19 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.7719, allocations: 6.469 kB / 1.277 GB, free: 3.797 MB / 0.9981 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 6.037e-05/0.7719, allocations: 122.1 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.772, allocations: 12.25 kB / 1.277 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.7722, allocations: 92.67 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7722, allocations: 5.844 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7722, allocations: 1.094 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7722, allocations: 1.828 kB / 1.277 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.7725, allocations: 199 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7725, allocations: 0.9375 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.7726, allocations: 20.22 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7726, allocations: 1.125 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.7726, allocations: 2.156 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7726, allocations: 1.062 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7726, allocations: 5.125 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.7729, allocations: 384.2 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.7729, allocations: 90.09 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.773, allocations: 10.97 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.7732, allocations: 12.62 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.7732, allocations: 22.39 kB / 1.278 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.7732, allocations: 8.141 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.7733, allocations: 115.9 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7733, allocations: 0 / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003038/0.7736, allocations: 13.62 kB / 1.278 GB, free: 2.867 MB / 0.9981 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.0005394/0.7741, allocations: 0.9059 MB / 1.279 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.7745, allocations: 100.1 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7745, allocations: 1.188 kB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.7747, allocations: 49.3 kB / 1.279 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.7751, allocations: 15.02 kB / 1.279 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.777, allocations: 1.811 MB / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.7774, allocations: 0.7012 MB / 1.281 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.268e-05/0.7774, allocations: 16.09 kB / 1.281 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.7775, allocations: 31.58 kB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7775, allocations: 4 kB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.8029, allocations: 2.709 MB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/8.175, allocations: 11.42 kB / 1.284 GB, free: 15.29 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv","/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) [Timeout 300] "Error: Could not read variable hysteresis.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! Error: Could not read variable hysteresis2.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv. Warning: Get data of variable hysteresis2.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.602988812002877]