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.001026/0.001026, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001636/0.001636, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9832/0.9832, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 10.86 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.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.605e-06/2.605e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.05e-05, allocations: 6.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002061/0.002091, allocations: 0.7834 MB / 0.7883 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003831, allocations: 1.276 MB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.003896, allocations: 4.625 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.003936, allocations: 15.8 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.004014, allocations: 25.14 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.004608, allocations: 252.5 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.004837, allocations: 252.8 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004958, allocations: 37.28 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.005117, allocations: 159.7 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.005241, allocations: 73.38 kB / 0.7904 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.005272, allocations: 20 kB / 0.7904 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.005352, allocations: 41 kB / 0.7904 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.005386, allocations: 31.91 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.005444, allocations: 71.8 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005647, allocations: 184.5 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.00565, allocations: 0 / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005651, allocations: 4 kB / 0.7907 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005655, allocations: 5.156 kB / 0.7907 GB, free: 8.953 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.0005138/0.006169, allocations: 0.5074 MB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.006208, allocations: 8.031 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.006261, allocations: 34.44 kB / 0.7913 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.006431, allocations: 168.4 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.006445, allocations: 8.375 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.006472, allocations: 24.36 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006593, allocations: 105.9 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.0066, allocations: 4.188 kB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006612, allocations: 8.359 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006617, allocations: 4.375 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.006662, allocations: 42.75 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.007028, allocations: 387.9 kB / 0.792 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.007127, allocations: 75.02 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.00715, allocations: 23.67 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.007155, allocations: 4 kB / 0.7921 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.007311, allocations: 131.3 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.007313, allocations: 0 / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000259/0.007572, allocations: 209.5 kB / 0.7924 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.007612, allocations: 59.34 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.007713, allocations: 205.6 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.007733, allocations: 33.7 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.007804, allocations: 163.2 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.007823, allocations: 35.72 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.007894, allocations: 75.3 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.008006, allocations: 0.4895 MB / 0.7934 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/0.00809, allocations: 107.4 kB / 0.7935 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.008208, allocations: 200.4 kB / 0.7937 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.008345, allocations: 218.4 kB / 0.7939 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008347, allocations: 0 / 0.7939 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002802/0.008627, allocations: 346.2 kB / 0.7942 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.008831, allocations: 71.39 kB / 0.7943 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.008837, allocations: 4.469 kB / 0.7943 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.008849, allocations: 4 kB / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.008868, allocations: 9.312 kB / 0.7943 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008874, allocations: 7.938 kB / 0.7943 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.009043, allocations: 53.75 kB / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.00906, allocations: 8 kB / 0.7944 GB, free: 4.844 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,fal.y,tru.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.0001028/0.009163, allocations: 189.6 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.009192, allocations: 19.91 kB / 0.7946 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.009223, allocations: 16.77 kB / 0.7946 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009225, allocations: 1.219 kB / 0.7946 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.009228, allocations: 0 / 0.7946 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.009233, allocations: 3.938 kB / 0.7946 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.009515, allocations: 429.5 kB / 0.795 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009517, allocations: 0 / 0.795 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-06/0.009524, allocations: 0.9375 kB / 0.795 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009527, allocations: 4 kB / 0.795 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009536, allocations: 7.984 kB / 0.795 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009537, allocations: 1.344 kB / 0.795 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.009541, allocations: 7.938 kB / 0.7951 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.00972, allocations: 319.7 kB / 0.7954 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.009734, allocations: 20.61 kB / 0.7954 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.009745, allocations: 0 / 0.7954 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.009781, allocations: 9.938 kB / 0.7954 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.009812, allocations: 15.91 kB / 0.7954 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.009828, allocations: 11.98 kB / 0.7954 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.009876, allocations: 139.2 kB / 0.7955 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009876, allocations: 0 / 0.7955 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002048/0.01008, allocations: 43.94 kB / 0.7956 GB, free: 3.578 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.0001478/0.01023, allocations: 115.3 kB / 0.7957 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.01048, allocations: 309.7 kB / 0.796 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01048, allocations: 0 / 0.796 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.483e-05/0.01053, allocations: 55.59 kB / 0.796 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.01075, allocations: 32.58 kB / 0.7961 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.01107, allocations: 257.4 kB / 0.7963 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.509e-05/0.01112, allocations: 65.19 kB / 0.7964 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.01115, allocations: 13.67 kB / 0.7964 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01126, allocations: 110.7 kB / 0.7965 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01126, allocations: 0.6562 kB / 0.7965 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.004103/0.01536, allocations: 2.5 MB / 0.7989 GB, free: 104 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934811295941472]