Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.17 kB / 19.87 MB, free: 4.621 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.001044/0.001044, allocations: 169 kB / 23.27 MB, free: 1.223 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.047/1.047, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.326/2.326, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.02e-05, allocations: 10.25 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001423/0.001453, allocations: 0.6248 MB / 0.8904 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.002599, allocations: 1.154 MB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.002647, allocations: 4 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.002677, allocations: 0 / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.002737, allocations: 7.938 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.003113, allocations: 119.6 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.003232, allocations: 87.81 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.003304, allocations: 11.98 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.003388, allocations: 39.97 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.003485, allocations: 31.89 kB / 0.8918 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.003508, allocations: 4 kB / 0.8918 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.4e-05/0.003572, allocations: 27.98 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.003591, allocations: 0 / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.003629, allocations: 31.95 kB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003756, allocations: 71.78 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003758, allocations: 4 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003758, allocations: 0 / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.003762, allocations: 0 / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003946/0.004157, allocations: 402.3 kB / 0.8923 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.004201, allocations: 12.62 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.004236, allocations: 8.891 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.784e-05/0.004314, allocations: 120.5 kB / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004324, allocations: 384 / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004338, allocations: 4.375 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.193e-05/0.00442, allocations: 46.23 kB / 0.8925 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004427, allocations: 4.188 kB / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004434, allocations: 384 / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.004439, allocations: 384 / 0.8925 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.004458, allocations: 7.938 kB / 0.8925 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004725, allocations: 260.4 kB / 0.8928 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.532e-05/0.00476, allocations: 31.05 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.04e-05/0.004771, allocations: 7.688 kB / 0.8928 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-06/0.004774, allocations: 4 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.596e-05/0.00485, allocations: 69.05 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004851, allocations: 0 / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.004982, allocations: 57.58 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.005014, allocations: 51.41 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.005096, allocations: 169.9 kB / 0.8931 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.005112, allocations: 25.7 kB / 0.8931 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.005176, allocations: 134.9 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.005188, allocations: 3.953 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.005233, allocations: 35.36 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.00541, allocations: 0.4962 MB / 0.8938 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.005469, allocations: 45.69 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.005535, allocations: 84.67 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.983e-05/0.005625, allocations: 80.69 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.005628, allocations: 0 / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001903/0.005818, allocations: 165 kB / 0.8942 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.005862, allocations: 37.69 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.00587, allocations: 3.938 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.005886, allocations: 8.094 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.908e-05/0.005905, allocations: 3.938 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005909, allocations: 0 / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.006043, allocations: 19.94 kB / 0.8942 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.006065, allocations: 12 kB / 0.8942 GB, free: 4.879 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.006175, allocations: 160.6 kB / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.006182, allocations: 0 / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.006219, allocations: 11.62 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006221, allocations: 0 / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006223, allocations: 4.234 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.006228, allocations: 0 / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.00633, allocations: 101.2 kB / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.006334, allocations: 3.984 kB / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.006339, allocations: 320 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.00634, allocations: 0 / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.006345, allocations: 4 kB / 0.8945 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.006349, allocations: 4 kB / 0.8945 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.006352, allocations: 3.938 kB / 0.8945 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.006448, allocations: 88.36 kB / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.006456, allocations: 7.953 kB / 0.8946 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.006465, allocations: 4 kB / 0.8946 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.006474, allocations: 0 / 0.8946 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.006502, allocations: 7.938 kB / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.006505, allocations: 0 / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.006555, allocations: 131.2 kB / 0.8947 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006555, allocations: 0 / 0.8947 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001509/0.006706, allocations: 19.94 kB / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001413/0.006847, allocations: 95.25 kB / 0.8949 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.007028, allocations: 140.8 kB / 0.895 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007029, allocations: 4.062 kB / 0.895 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.00705, allocations: 15.62 kB / 0.895 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.007236, allocations: 11.98 kB / 0.895 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.007532, allocations: 122.2 kB / 0.8951 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.007573, allocations: 59.34 kB / 0.8952 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.007593, allocations: 0 / 0.8952 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.007679, allocations: 86.19 kB / 0.8953 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.00768, allocations: 0 / 0.8953 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.00293/0.01061, allocations: 1.278 MB / 0.8965 GB, free: 2.41 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.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.342444371897727]