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.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.000644/0.000644, 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.0008057/0.0008057, allocations: 165.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.9204/0.9204, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 3.387e-06/3.387e-06, allocations: 0 / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.696e-05, allocations: 9.172 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002113/0.00214, allocations: 0.8311 MB / 0.9514 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.003206, allocations: 0.9132 MB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.003258, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.003295, allocations: 11.86 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.003384, allocations: 23.75 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.003666, allocations: 47.88 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.003833, allocations: 119.6 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.003964, allocations: 17.3 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.004214, allocations: 71.81 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.004312, allocations: 43.88 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.004339, allocations: 8 kB / 0.9526 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.004398, allocations: 12 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.00443, allocations: 31.89 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.004473, allocations: 27.92 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.00469, allocations: 143.5 kB / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004693, allocations: 0 / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004695, allocations: 0 / 0.9528 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.0047, allocations: 0 / 0.9528 GB, free: 1.117 MB / 0.9011 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.0006687/0.005368, allocations: 365.7 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/0.005442, allocations: 12.03 kB / 0.9532 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.005488, allocations: 38.69 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.005741, allocations: 40.81 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.0062, allocations: 189.7 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.00623, allocations: 8.375 kB / 0.9534 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.006251, allocations: 4.375 kB / 0.9534 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.006531, allocations: 116.8 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006542, allocations: 4.188 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.006556, allocations: 384 / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.006565, allocations: 7.938 kB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.006831, allocations: 79.84 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.007546, allocations: 460.8 kB / 0.9541 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.007775, allocations: 111.8 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.007891, allocations: 50.61 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.007917, allocations: 0 / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.007946, allocations: 38.55 kB / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.007947, allocations: 0 / 0.9543 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005356/0.008483, allocations: 161.4 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.008541, allocations: 106.8 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.008717, allocations: 144.8 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.008747, allocations: 33.7 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.00882, allocations: 108.2 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.008861, allocations: 31.84 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.008918, allocations: 25.72 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009034, allocations: 323.1 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.009178, allocations: 47.95 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.009359, allocations: 162.2 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.00959, allocations: 94.39 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.009593, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003045/0.009897, allocations: 149.5 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.009916, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.009922, allocations: 0 / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.00994, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01006, allocations: 23.91 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01007, allocations: 0 / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.01018, allocations: 23.98 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.01019, allocations: 0 / 0.9556 GB, free: 13.91 MB / 0.9167 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.01029, allocations: 121.8 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.01036, allocations: 15.89 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.0106, allocations: 94.25 kB / 0.9559 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.0106, allocations: 8.031 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01061, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01061, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.01092, allocations: 168.6 kB / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01093, allocations: 0 / 0.956 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01103, allocations: 23.97 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01104, allocations: 0 / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01105, allocations: 0 / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01105, allocations: 4 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01105, allocations: 0 / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.01154, allocations: 381.8 kB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.01157, allocations: 19.84 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.01159, allocations: 0 / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.01178, allocations: 11.98 kB / 0.9564 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.01186, allocations: 23.95 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01187, allocations: 11.98 kB / 0.9565 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.01194, allocations: 106.5 kB / 0.9566 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.51e-07/0.01194, allocations: 4 kB / 0.9566 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003724/0.01231, allocations: 19.94 kB / 0.9566 GB, free: 12.84 MB / 0.9167 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.0006542/0.01297, allocations: 0.9023 MB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.01329, allocations: 95.86 kB / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.0133, allocations: 0 / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.01343, allocations: 55.89 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.01397, allocations: 14.66 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.01604, allocations: 1.806 MB / 0.9594 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.303e-05/0.01613, allocations: 88.3 kB / 0.9595 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.01621, allocations: 16.64 kB / 0.9595 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/0.0163, allocations: 36.48 kB / 0.9595 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of SimCode: time 1.242e-06/0.0163, allocations: 0 / 0.9595 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.03808, allocations: 3.447 MB / 0.9629 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.819, allocations: 6.75 kB / 0.9629 GB, free: 6.395 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.050597320310771]