Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0009399/0.0009399, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009387/0.0009387, allocations: 169 kB / 24.06 MB, free: 456 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.9223/0.9223, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.099/2.099, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.268e-06/4.268e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.704e-05, allocations: 6.219 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001372/0.001399, allocations: 0.6731 MB / 0.8801 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002681, allocations: 1.237 MB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.002725, allocations: 0.9688 kB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002754, allocations: 3.938 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.002841, allocations: 17.55 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.003332, allocations: 205.1 kB / 0.8815 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003524, allocations: 172.5 kB / 0.8817 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.003612, allocations: 11.98 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.003724, allocations: 91.86 kB / 0.8818 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.00383, allocations: 60.94 kB / 0.8818 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.003856, allocations: 12 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.003919, allocations: 24 kB / 0.8818 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.003946, allocations: 12.97 kB / 0.8819 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.182e-05/0.003997, allocations: 51.91 kB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.004168, allocations: 136.8 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.00417, allocations: 0 / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004171, allocations: 0 / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004175, allocations: 4.969 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003839/0.004559, allocations: 467.8 kB / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004596, allocations: 11.97 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.004639, allocations: 17.64 kB / 0.8825 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.004713, allocations: 108.6 kB / 0.8826 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.004727, allocations: 15.88 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.004745, allocations: 8.375 kB / 0.8826 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.77e-05/0.004813, allocations: 38.25 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.00482, allocations: 192 / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.004827, allocations: 4.375 kB / 0.8827 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.004831, allocations: 384 / 0.8827 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.004848, allocations: 15.86 kB / 0.8827 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.00516, allocations: 308.3 kB / 0.883 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.005217, allocations: 35.69 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.005232, allocations: 15.77 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.005238, allocations: 0.5938 kB / 0.883 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.273e-05/0.005331, allocations: 82.48 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005332, allocations: 0 / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.005497, allocations: 97.55 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.00553, allocations: 55.41 kB / 0.8833 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.00561, allocations: 177.8 kB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.005805, allocations: 33.7 kB / 0.8835 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.005862, allocations: 142.8 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.005873, allocations: 11.94 kB / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.005934, allocations: 59.31 kB / 0.8837 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.00606, allocations: 496.1 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.006142, allocations: 99.36 kB / 0.8842 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.006241, allocations: 154.2 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.006358, allocations: 165.8 kB / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006361, allocations: 0 / 0.8845 GB, free: 500 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002512/0.006612, allocations: 300.2 kB / 0.8848 GB, free: 168 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.006655, allocations: 71.33 kB / 0.8849 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.006659, allocations: 0 / 0.8849 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.006669, allocations: 7.938 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.619e-05/0.006685, allocations: 0 / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.00669, allocations: 4 kB / 0.8849 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.006841, allocations: 44.03 kB / 0.885 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.00686, allocations: 11.98 kB / 0.885 GB, free: 16 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.77e-05/0.006948, allocations: 172.5 kB / 0.8851 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.006958, allocations: 4 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.00699, allocations: 16.38 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006992, allocations: 0 / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006993, allocations: 0 / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.006999, allocations: 11.91 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.588e-05/0.007075, allocations: 117.2 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007077, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-06/0.007082, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007083, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.007088, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007088, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.007092, allocations: 7.938 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.007206, allocations: 108.4 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.007217, allocations: 7.953 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.00723, allocations: 0 / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.007247, allocations: 3.984 kB / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.007281, allocations: 15.94 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.007287, allocations: 4 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.007337, allocations: 131.1 kB / 0.8855 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007337, allocations: 0 / 0.8855 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001595/0.007496, allocations: 32 kB / 0.8856 GB, free: 15.33 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001038/0.0076, allocations: 99.23 kB / 0.8857 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.007823, allocations: 265.8 kB / 0.8859 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007825, allocations: 0 / 0.8859 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.007851, allocations: 31.92 kB / 0.8859 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.008019, allocations: 17.41 kB / 0.886 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.008264, allocations: 166.7 kB / 0.8861 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.008295, allocations: 55.36 kB / 0.8862 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.008316, allocations: 11.84 kB / 0.8862 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.008416, allocations: 98.17 kB / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.008416, allocations: 0 / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.003708/0.01212, allocations: 2.28 MB / 0.8885 GB, free: 12.27 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.698747924994677]