Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008625/0.0008625, allocations: 80.48 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.0008617/0.0008617, allocations: 173.9 kB / 23.21 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.8857/0.8857, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.9 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.724e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001416/0.001443, allocations: 0.7424 MB / 0.9829 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002613, allocations: 1.271 MB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.002665, allocations: 8 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.0027, allocations: 11.86 kB / 0.9842 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.002778, allocations: 19.86 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.003295, allocations: 251.2 kB / 0.9845 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.003504, allocations: 251.6 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.003626, allocations: 41.27 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.003755, allocations: 151.8 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.003867, allocations: 83.77 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.003898, allocations: 24 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.003962, allocations: 36 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.003995, allocations: 35.89 kB / 0.9851 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.004061, allocations: 79.86 kB / 0.9851 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.004306, allocations: 283.2 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004308, allocations: 7.938 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004309, allocations: 0 / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004312, allocations: 0 / 0.9854 GB, free: 14.78 MB / 0.948 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.0004519/0.004764, allocations: 437 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.004798, allocations: 12.03 kB / 0.9858 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.004853, allocations: 20.89 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.005191, allocations: 181.7 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.00521, allocations: 12.38 kB / 0.986 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.005237, allocations: 20.36 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005401, allocations: 134.1 kB / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005408, allocations: 192 / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.00542, allocations: 384 / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.005426, allocations: 12.12 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.264e-05/0.005518, allocations: 71.95 kB / 0.9863 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.005903, allocations: 352 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.006028, allocations: 78.48 kB / 0.9867 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.981e-05/0.006068, allocations: 36.83 kB / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.006074, allocations: 0 / 0.9867 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.006255, allocations: 138.4 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.006256, allocations: 4 kB / 0.9869 GB, free: 13.17 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0003059/0.006562, allocations: 249.4 kB / 0.9871 GB, free: 12.92 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.006595, allocations: 51.41 kB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.006674, allocations: 149.5 kB / 0.9873 GB, free: 12.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.006696, allocations: 33.7 kB / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.006748, allocations: 104.5 kB / 0.9874 GB, free: 12.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.006769, allocations: 39.73 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.006838, allocations: 73.67 kB / 0.9875 GB, free: 12.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.006908, allocations: 314.8 kB / 0.9878 GB, free: 12.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.007026, allocations: 131.3 kB / 0.988 GB, free: 11.99 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.007158, allocations: 191.1 kB / 0.9881 GB, free: 11.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.007314, allocations: 209.7 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007316, allocations: 0 / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003232/0.00764, allocations: 376.1 kB / 0.9887 GB, free: 11.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.007677, allocations: 71.33 kB / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.007681, allocations: 0 / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.007694, allocations: 7.938 kB / 0.9888 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-05/0.007711, allocations: 11.94 kB / 0.9888 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.007723, allocations: 4 kB / 0.9888 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.007887, allocations: 60.08 kB / 0.9888 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.007907, allocations: 19.98 kB / 0.9889 GB, free: 10.94 MB / 0.948 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 8.625e-05/0.007993, allocations: 137.8 kB / 0.989 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.008003, allocations: 11.89 kB / 0.989 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.008029, allocations: 12.78 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.008032, allocations: 3.938 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008037, allocations: 0 / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.008041, allocations: 0 / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.008327, allocations: 434 kB / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008328, allocations: 0 / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-06/0.008333, allocations: 0 / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008336, allocations: 4 kB / 0.9894 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.008346, allocations: 7.922 kB / 0.9894 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008348, allocations: 4 kB / 0.9894 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008349, allocations: 4 kB / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.008534, allocations: 298.4 kB / 0.9897 GB, free: 9.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.008542, allocations: 7.953 kB / 0.9897 GB, free: 9.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.008556, allocations: 7.922 kB / 0.9898 GB, free: 9.965 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.008592, allocations: 12 kB / 0.9898 GB, free: 9.953 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.008624, allocations: 11.97 kB / 0.9898 GB, free: 9.941 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.00864, allocations: 12 kB / 0.9898 GB, free: 9.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.008674, allocations: 95.27 kB / 0.9899 GB, free: 9.836 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008674, allocations: 0 / 0.9899 GB, free: 9.836 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001975/0.008872, allocations: 51.88 kB / 0.9899 GB, free: 9.785 MB / 0.948 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.0001109/0.008983, allocations: 111.2 kB / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.009259, allocations: 334.2 kB / 0.9904 GB, free: 9.305 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.009261, allocations: 0 / 0.9904 GB, free: 9.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.009323, allocations: 59.91 kB / 0.9904 GB, free: 9.246 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.009526, allocations: 27.92 kB / 0.9904 GB, free: 9.219 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.009868, allocations: 287.8 kB / 0.9907 GB, free: 8.906 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.009936, allocations: 103 kB / 0.9908 GB, free: 8.781 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.009958, allocations: 16.5 kB / 0.9908 GB, free: 8.762 MB / 0.948 GB Notification: Performance of SimCode: time 5.2e-07/0.009958, allocations: 0 / 0.9908 GB, free: 8.762 MB / 0.948 GB Notification: Performance of Templates: time 0.002378/0.01234, allocations: 2.004 MB / 0.9928 GB, free: 6.77 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:falCleFalIni.clr,falCleFalIni.u,falCleFalIni.y,falCleTruIni.clr,falCleTruIni.u,falCleTruIni.y,swiCleInp.clr,swiCleInp.u,swiCleInp.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp1.y,time,truCleFalIni.clr,truCleFalIni.u,truCleFalIni.y,truCleTruIni.clr,truCleTruIni.u,truCleTruIni.y [Calling sys.exit(0), Time elapsed: 6.776183821260929]