Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001506/0.001506, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00163/0.00163, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.344e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001921/0.001955, allocations: 0.7548 MB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.003929, allocations: 1.276 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.003982, allocations: 1.188 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.004022, allocations: 11.88 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.004107, allocations: 19.78 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.004781, allocations: 245.4 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000348/0.005129, allocations: 260.6 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.005263, allocations: 37.22 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.00547, allocations: 151.7 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.005633, allocations: 81.7 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.005686, allocations: 24 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.005779, allocations: 39.92 kB / 0.7892 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.005828, allocations: 35.89 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.005946, allocations: 79.84 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.006336, allocations: 283.9 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006339, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00634, allocations: 4.812 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.006346, allocations: 0 / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007112/0.007057, allocations: 422.5 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.007093, allocations: 8.031 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.007193, allocations: 32.83 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.007743, allocations: 186.8 kB / 0.7902 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.007766, allocations: 9.906 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.007811, allocations: 24.38 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.008082, allocations: 132.3 kB / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.008091, allocations: 192 / 0.7904 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.00811, allocations: 6.125 kB / 0.7904 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.008118, allocations: 8.125 kB / 0.7904 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.00826, allocations: 67.95 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.00886, allocations: 356.1 kB / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.009042, allocations: 81.03 kB / 0.7909 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.00911, allocations: 36.83 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.009119, allocations: 0 / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.009403, allocations: 139.1 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/0.009405, allocations: 0.625 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000526/0.009931, allocations: 254.2 kB / 0.7913 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.009996, allocations: 63.34 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.01014, allocations: 143.3 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.01018, allocations: 33.7 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.981e-05/0.01028, allocations: 109.3 kB / 0.7916 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.01032, allocations: 39.72 kB / 0.7916 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.01044, allocations: 70.58 kB / 0.7917 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.01061, allocations: 322.8 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.01081, allocations: 131.3 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.01107, allocations: 184.7 kB / 0.7923 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.01136, allocations: 213.1 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01137, allocations: 4 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006011/0.01197, allocations: 380.1 kB / 0.7929 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.01205, allocations: 70.55 kB / 0.793 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01206, allocations: 3.938 kB / 0.793 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.01208, allocations: 7.938 kB / 0.793 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.263e-05/0.01212, allocations: 8 kB / 0.793 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.01213, allocations: 8.516 kB / 0.793 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.01247, allocations: 58.3 kB / 0.793 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.01251, allocations: 16 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001679/0.01268, allocations: 140 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.01272, allocations: 23.91 kB / 0.7932 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.01276, allocations: 12.77 kB / 0.7932 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01276, allocations: 5.688 kB / 0.7932 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.01277, allocations: 4 kB / 0.7932 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.01278, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.01335, allocations: 414 kB / 0.7936 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01335, allocations: 0.9062 kB / 0.7936 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.01337, allocations: 4 kB / 0.7936 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01337, allocations: 0.8438 kB / 0.7936 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.01339, allocations: 15.94 kB / 0.7937 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.01339, allocations: 3.984 kB / 0.7937 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0134, allocations: 1.281 kB / 0.7937 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.0138, allocations: 304.3 kB / 0.7939 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.01382, allocations: 11.91 kB / 0.794 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.01385, allocations: 8.453 kB / 0.794 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.01392, allocations: 12.69 kB / 0.794 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.01398, allocations: 11.97 kB / 0.794 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.01401, allocations: 13.69 kB / 0.794 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.01409, allocations: 95.27 kB / 0.7941 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01409, allocations: 0 / 0.7941 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003234/0.01442, allocations: 47.92 kB / 0.7941 GB, free: 4.496 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002423/0.01466, allocations: 112 kB / 0.7942 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005463/0.01521, allocations: 329.5 kB / 0.7946 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01521, allocations: 0 / 0.7946 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01532, allocations: 62.58 kB / 0.7946 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01568, allocations: 24.3 kB / 0.7946 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.01641, allocations: 273.7 kB / 0.7949 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.01654, allocations: 100.7 kB / 0.795 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.01658, allocations: 12.62 kB / 0.795 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.01662, allocations: 16.5 kB / 0.795 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/0.01662, allocations: 3.938 kB / 0.795 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of Templates: time 0.006181/0.0228, allocations: 2.323 MB / 0.7973 GB, free: 1.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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: 8.085710542043671]