Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001088/0.001088, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001679/0.001679, allocations: 169 kB / 24.28 MB, free: 280 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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.823/1.823, allocations: 359 MB / 0.6055 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 4 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.212e-05/4.647e-05, allocations: 11.22 kB / 0.7871 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001862/0.001909, allocations: 0.6538 MB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.003448, allocations: 1.238 MB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.003508, allocations: 0.5 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.003542, allocations: 4.562 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.657e-05/0.003628, allocations: 17.28 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.004227, allocations: 208.5 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.004458, allocations: 175.7 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.00457, allocations: 5.234 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004699, allocations: 99.86 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.004814, allocations: 51.91 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.004844, allocations: 13.5 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.004923, allocations: 24 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.004951, allocations: 15.92 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.005018, allocations: 43.95 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005215, allocations: 132.7 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.005221, allocations: 7.984 kB / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005222, allocations: 0 / 0.7897 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.005229, allocations: 1 kB / 0.7897 GB, free: 10.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005084/0.005737, allocations: 459.8 kB / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.005782, allocations: 8.031 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.005856, allocations: 22.05 kB / 0.7902 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.885e-05/0.005955, allocations: 120.5 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.005972, allocations: 4.375 kB / 0.7903 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.005994, allocations: 9.969 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.006097, allocations: 50.19 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006105, allocations: 4.172 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006116, allocations: 384 / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.006125, allocations: 1.719 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.006153, allocations: 11.94 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.0066, allocations: 323.7 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.096e-05/0.006691, allocations: 45.89 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.006715, allocations: 15.67 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.006725, allocations: 0 / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.006858, allocations: 89.05 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.00686, allocations: 0 / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002411/0.007101, allocations: 101.5 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.007148, allocations: 59.41 kB / 0.791 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.007267, allocations: 174.6 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.007293, allocations: 37.64 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/0.007364, allocations: 140.5 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.007377, allocations: 7.906 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.007446, allocations: 55.34 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.007562, allocations: 0.4923 MB / 0.7919 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.007774, allocations: 109.1 kB / 0.792 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.007897, allocations: 162.2 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.008035, allocations: 162.9 kB / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008037, allocations: 0 / 0.7923 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003306/0.008368, allocations: 325.8 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.008419, allocations: 67.39 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.008425, allocations: 0 / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.008442, allocations: 5.75 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.008463, allocations: 0 / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.00847, allocations: 4 kB / 0.7927 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.00866, allocations: 40.8 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.008682, allocations: 12 kB / 0.7927 GB, free: 6.68 MB / 0.7448 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 9.483e-05/0.008777, allocations: 177.7 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.008794, allocations: 11.89 kB / 0.7929 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.008818, allocations: 8.969 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008821, allocations: 0 / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008825, allocations: 1.312 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.00883, allocations: 4 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.246e-05/0.008923, allocations: 128.6 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008925, allocations: 0.5312 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.008934, allocations: 4 kB / 0.793 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008936, allocations: 5.375 kB / 0.793 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.008945, allocations: 3.938 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.008948, allocations: 4.062 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.008949, allocations: 1.156 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.009079, allocations: 116.3 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.00909, allocations: 7.953 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009104, allocations: 5.125 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.746e-05/0.009122, allocations: 7.984 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.009161, allocations: 4 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.009169, allocations: 4 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.009217, allocations: 139.9 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009217, allocations: 0 / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001714/0.009389, allocations: 24.94 kB / 0.7934 GB, free: 5.977 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: 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.0001595/0.009548, allocations: 108.6 kB / 0.7935 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.009829, allocations: 277.8 kB / 0.7937 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.00983, allocations: 0.8438 kB / 0.7937 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.755e-05/0.009868, allocations: 31.61 kB / 0.7938 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.0101, allocations: 17.98 kB / 0.7938 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.01045, allocations: 158.7 kB / 0.7939 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.01049, allocations: 56.08 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.01052, allocations: 7.984 kB / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.01055, allocations: 15.94 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/0.01055, allocations: 0 / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.004202/0.01475, allocations: 2.05 MB / 0.796 GB, free: 3.242 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.229804876958951]