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.002149/0.002149, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002534/0.002534, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.847/2.847, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.246e-06/3.246e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.692e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002143/0.00218, allocations: 0.7463 MB / 0.9822 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.004185, allocations: 1.271 MB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.004257, allocations: 8 kB / 0.9834 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.004301, allocations: 7.875 kB / 0.9834 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.004392, allocations: 19.73 kB / 0.9835 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.005176, allocations: 257.5 kB / 0.9837 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.005604, allocations: 251.6 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.005768, allocations: 41.22 kB / 0.984 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.005974, allocations: 147.8 kB / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.00615, allocations: 83.72 kB / 0.9842 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.637e-05/0.006206, allocations: 28 kB / 0.9842 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.006306, allocations: 35.97 kB / 0.9843 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.006355, allocations: 35.89 kB / 0.9843 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.006477, allocations: 83.86 kB / 0.9844 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.00689, allocations: 291.2 kB / 0.9847 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006893, allocations: 0 / 0.9847 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006894, allocations: 0 / 0.9847 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.006899, allocations: 0 / 0.9847 GB, free: 8.695 MB / 0.9356 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.0007158/0.007615, allocations: 425.2 kB / 0.9851 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.007654, allocations: 16.03 kB / 0.9851 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.007737, allocations: 16.89 kB / 0.9851 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.008315, allocations: 177.7 kB / 0.9853 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.008344, allocations: 16.38 kB / 0.9853 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.008401, allocations: 24.36 kB / 0.9853 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.008696, allocations: 124.8 kB / 0.9854 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.008709, allocations: 4.172 kB / 0.9854 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.008733, allocations: 12.36 kB / 0.9854 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.008741, allocations: 8.125 kB / 0.9854 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.008896, allocations: 63.97 kB / 0.9855 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.009565, allocations: 359.9 kB / 0.9858 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.009778, allocations: 78.53 kB / 0.9859 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.009842, allocations: 32.84 kB / 0.986 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.009855, allocations: 4 kB / 0.986 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.01012, allocations: 131.2 kB / 0.9861 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.01013, allocations: 4 kB / 0.9861 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0005244/0.01065, allocations: 252.2 kB / 0.9863 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.01072, allocations: 55.41 kB / 0.9864 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01088, allocations: 145 kB / 0.9865 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.01092, allocations: 29.7 kB / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.01103, allocations: 112.7 kB / 0.9867 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.01107, allocations: 39.67 kB / 0.9867 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.01121, allocations: 69.67 kB / 0.9868 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.01142, allocations: 322.8 kB / 0.9871 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.01164, allocations: 123.4 kB / 0.9872 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.01192, allocations: 205.6 kB / 0.9874 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.01224, allocations: 215 kB / 0.9876 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.01225, allocations: 4 kB / 0.9876 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005978/0.01285, allocations: 376 kB / 0.9879 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.01293, allocations: 65.73 kB / 0.988 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.01294, allocations: 4 kB / 0.988 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.01296, allocations: 3.938 kB / 0.988 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.01299, allocations: 4 kB / 0.988 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.01301, allocations: 11.92 kB / 0.988 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.01338, allocations: 60.09 kB / 0.9881 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.01342, allocations: 19.98 kB / 0.9881 GB, free: 4.852 MB / 0.9356 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.0001701/0.01359, allocations: 133.8 kB / 0.9882 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.01361, allocations: 7.953 kB / 0.9882 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.01365, allocations: 12.78 kB / 0.9883 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.01366, allocations: 3.938 kB / 0.9883 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01366, allocations: 3.938 kB / 0.9883 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.01367, allocations: 7.984 kB / 0.9883 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.01421, allocations: 416.9 kB / 0.9887 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01422, allocations: 0 / 0.9887 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.01423, allocations: 7.938 kB / 0.9887 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01424, allocations: 3.984 kB / 0.9887 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.01426, allocations: 11.94 kB / 0.9887 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01426, allocations: 0 / 0.9887 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01426, allocations: 0 / 0.9887 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.01461, allocations: 287.4 kB / 0.989 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.01463, allocations: 11.94 kB / 0.989 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.01465, allocations: 7.938 kB / 0.989 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.842e-05/0.01471, allocations: 4 kB / 0.989 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.01477, allocations: 15.97 kB / 0.989 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.0148, allocations: 11.98 kB / 0.989 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.702e-05/0.01488, allocations: 99.27 kB / 0.9891 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01488, allocations: 0 / 0.9891 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000314/0.0152, allocations: 51.89 kB / 0.9892 GB, free: 3.715 MB / 0.9356 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.000215/0.01541, allocations: 107.2 kB / 0.9893 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.0159, allocations: 338.1 kB / 0.9896 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.0159, allocations: 4 kB / 0.9896 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.905e-05/0.016, allocations: 53.38 kB / 0.9896 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01634, allocations: 19.98 kB / 0.9897 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.01693, allocations: 278 kB / 0.9899 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.01706, allocations: 106.9 kB / 0.99 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.01709, allocations: 5.156 kB / 0.99 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.01713, allocations: 20.48 kB / 0.99 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.01713, allocations: 0 / 0.99 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.006714/0.02385, allocations: 2.309 MB / 0.9923 GB, free: 456 kB / 0.9356 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.420111112296581]