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.001275/0.001275, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.004452/0.004452, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9623/0.9623, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.821/1.821, allocations: 359 MB / 0.6063 GB, free: 10.88 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.976e-06/2.976e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.323e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002885/0.002918, allocations: 0.7791 MB / 0.7891 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.005237, allocations: 1.285 MB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.005351, allocations: 0 / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.005405, allocations: 16.3 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.005519, allocations: 20.95 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.006471, allocations: 252.5 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000428/0.006899, allocations: 256.4 kB / 0.7909 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.00709, allocations: 41.28 kB / 0.7909 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.007385, allocations: 155.8 kB / 0.7911 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.00757, allocations: 73.38 kB / 0.7911 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.00762, allocations: 20 kB / 0.7911 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.007714, allocations: 37.56 kB / 0.7912 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.00776, allocations: 31.91 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.007863, allocations: 71.86 kB / 0.7913 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.008176, allocations: 191.4 kB / 0.7915 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.008182, allocations: 3.469 kB / 0.7915 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.763e-06/0.008183, allocations: 0 / 0.7915 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.008191, allocations: 0 / 0.7915 GB, free: 8.992 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.0006776/0.008868, allocations: 0.5035 MB / 0.792 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.008913, allocations: 12.03 kB / 0.792 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.008995, allocations: 32.78 kB / 0.792 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.009232, allocations: 168.4 kB / 0.7922 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.009275, allocations: 12.38 kB / 0.7922 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.009315, allocations: 24.89 kB / 0.7922 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.009496, allocations: 107.4 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.009506, allocations: 0.7812 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.009524, allocations: 10.02 kB / 0.7923 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.009532, allocations: 4.375 kB / 0.7923 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.0096, allocations: 42.31 kB / 0.7923 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.01014, allocations: 387.9 kB / 0.7927 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.01029, allocations: 76.06 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.01032, allocations: 27.61 kB / 0.7928 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.01033, allocations: 8.844 kB / 0.7928 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.01055, allocations: 122.1 kB / 0.7929 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.01055, allocations: 0 / 0.7929 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003774/0.01093, allocations: 213.4 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.01098, allocations: 59.34 kB / 0.7932 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.01113, allocations: 201.7 kB / 0.7934 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.01116, allocations: 33.7 kB / 0.7934 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.01126, allocations: 159.7 kB / 0.7936 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.0113, allocations: 36.31 kB / 0.7936 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.01141, allocations: 76.64 kB / 0.7937 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.01158, allocations: 0.4962 MB / 0.7942 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01172, allocations: 103.4 kB / 0.7943 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.0119, allocations: 196.3 kB / 0.7945 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.01215, allocations: 215.6 kB / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01215, allocations: 0 / 0.7947 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004603/0.01261, allocations: 354 kB / 0.795 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.01267, allocations: 67.95 kB / 0.7951 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01268, allocations: 0 / 0.7951 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01269, allocations: 5.156 kB / 0.7951 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.654e-05/0.01272, allocations: 8 kB / 0.7951 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01273, allocations: 11.88 kB / 0.7951 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.01297, allocations: 49.31 kB / 0.7951 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.013, allocations: 20.69 kB / 0.7952 GB, free: 4.871 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.0001637/0.01317, allocations: 173.6 kB / 0.7953 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.0132, allocations: 23.91 kB / 0.7953 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01324, allocations: 17.86 kB / 0.7954 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01324, allocations: 0 / 0.7954 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01324, allocations: 0 / 0.7954 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01325, allocations: 4.781 kB / 0.7954 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.01367, allocations: 428.4 kB / 0.7958 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01367, allocations: 2.219 kB / 0.7958 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.01368, allocations: 4 kB / 0.7958 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.01368, allocations: 0 / 0.7958 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.0137, allocations: 3.984 kB / 0.7958 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.0137, allocations: 7.938 kB / 0.7958 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.0137, allocations: 3.938 kB / 0.7958 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.01406, allocations: 318.5 kB / 0.7961 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01408, allocations: 19.83 kB / 0.7961 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.0141, allocations: 8 kB / 0.7961 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.793e-05/0.01416, allocations: 0 / 0.7961 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.01422, allocations: 15.91 kB / 0.7961 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.01425, allocations: 15.98 kB / 0.7962 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.663e-05/0.01434, allocations: 137.4 kB / 0.7963 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.4e-07/0.01434, allocations: 1.594 kB / 0.7963 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003879/0.01473, allocations: 44 kB / 0.7963 GB, free: 3.621 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.0002169/0.01494, allocations: 111.7 kB / 0.7964 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.01534, allocations: 314.7 kB / 0.7967 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01535, allocations: 5.469 kB / 0.7967 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.01542, allocations: 53.98 kB / 0.7968 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.01579, allocations: 24.97 kB / 0.7968 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.01633, allocations: 255.9 kB / 0.7971 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.01639, allocations: 71.78 kB / 0.7971 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.059e-05/0.01646, allocations: 14.95 kB / 0.7971 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.01662, allocations: 110.2 kB / 0.7973 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of SimCode: time 1.283e-06/0.01662, allocations: 0 / 0.7973 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of Templates: time 0.004935/0.02155, allocations: 2.55 MB / 0.7997 GB, free: 92 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: 5.210628136061132]