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.0007985/0.0007985, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007738/0.0007738, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8902/0.8902, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.721/1.721, allocations: 359 MB / 0.6044 GB, free: 11.1 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.616e-06/3.616e-06, allocations: 0 / 0.9518 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.823e-05/4.185e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001718/0.00176, allocations: 0.8233 MB / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002786, allocations: 0.9132 MB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.002842, allocations: 4 kB / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.002878, allocations: 15.8 kB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.002965, allocations: 11.81 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.003194, allocations: 47.88 kB / 0.9536 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.003312, allocations: 115.6 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003427, allocations: 25.22 kB / 0.9537 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.003603, allocations: 75.81 kB / 0.9538 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.003672, allocations: 43.83 kB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.003695, allocations: 12 kB / 0.9538 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.003739, allocations: 15.98 kB / 0.9538 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.003764, allocations: 27.84 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.003797, allocations: 31.91 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.003965, allocations: 127.6 kB / 0.954 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003968, allocations: 4 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003969, allocations: 0 / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003973, allocations: 0 / 0.954 GB, free: 0.5781 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.0004925/0.004466, allocations: 373.7 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004502, allocations: 8.031 kB / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.004666, allocations: 36.81 kB / 0.9544 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.004986, allocations: 189.7 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.005009, allocations: 8.312 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.005023, allocations: 8.375 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.005208, allocations: 116.8 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005216, allocations: 4.125 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.005227, allocations: 4.375 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005234, allocations: 4.125 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.005382, allocations: 79.86 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.005789, allocations: 429.4 kB / 0.9552 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.005949, allocations: 115.8 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.387e-05/0.006033, allocations: 58.53 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.006058, allocations: 4 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.00608, allocations: 34.56 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.006082, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0003515/0.006433, allocations: 161.6 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.006478, allocations: 110.7 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.006564, allocations: 144.8 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.006582, allocations: 29.7 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.006637, allocations: 108.3 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.006667, allocations: 27.78 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.006707, allocations: 29.7 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.006865, allocations: 318.8 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.006952, allocations: 44.12 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.00707, allocations: 162.2 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.007215, allocations: 90.45 kB / 0.9566 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.007217, allocations: 4 kB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001937/0.007411, allocations: 141.4 kB / 0.9567 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.007424, allocations: 4 kB / 0.9568 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.00743, allocations: 3.984 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007443, allocations: 7.938 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.007526, allocations: 15.98 kB / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007531, allocations: 0 / 0.9568 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.007591, allocations: 23.92 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.0076, allocations: 11.94 kB / 0.9568 GB, free: 13.45 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 8.386e-05/0.007683, allocations: 126.6 kB / 0.9569 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.00772, allocations: 19.84 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.007878, allocations: 81.98 kB / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.007883, allocations: 4 kB / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007887, allocations: 0 / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.00789, allocations: 384 / 0.957 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.008061, allocations: 137.4 kB / 0.9572 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008062, allocations: 4 kB / 0.9572 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.008112, allocations: 23.91 kB / 0.9572 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.008116, allocations: 7.938 kB / 0.9572 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.008127, allocations: 7.984 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008128, allocations: 0 / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008131, allocations: 4.062 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.00837, allocations: 362 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.008381, allocations: 19.84 kB / 0.9576 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.008401, allocations: 8 kB / 0.9576 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.008505, allocations: 15.92 kB / 0.9576 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.008569, allocations: 23.95 kB / 0.9576 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.008576, allocations: 7.984 kB / 0.9576 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.008632, allocations: 110.3 kB / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008632, allocations: 0 / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002132/0.008845, allocations: 19.94 kB / 0.9578 GB, free: 12.43 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.0001103/0.008956, allocations: 111.2 kB / 0.9579 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.009177, allocations: 99.86 kB / 0.958 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009179, allocations: 0 / 0.958 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.398e-05/0.009263, allocations: 47.91 kB / 0.958 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.009608, allocations: 16.06 kB / 0.958 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.009957, allocations: 229.2 kB / 0.9582 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/0.01002, allocations: 88.3 kB / 0.9583 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.01007, allocations: 16.5 kB / 0.9583 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of SimCode: time 6.31e-07/0.01007, allocations: 4 kB / 0.9583 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of Templates: time 0.002281/0.01235, allocations: 1.566 MB / 0.9599 GB, free: 10.2 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.3382076201960444]