Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.0009759/0.0009759, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001064/0.001064, allocations: 169 kB / 23.28 MB, free: 1.219 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.9469/0.9469, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.351/2.351, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.756e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001531/0.001559, allocations: 0.8395 MB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.003089, allocations: 1.516 MB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.00317, allocations: 7.938 kB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.003285, allocations: 23.73 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.003344, allocations: 31.72 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.004261, allocations: 0.5067 MB / 0.8926 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000438/0.004699, allocations: 475.1 kB / 0.8931 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.004822, allocations: 33.66 kB / 0.8931 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.005059, allocations: 251.7 kB / 0.8933 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.005229, allocations: 147.6 kB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.005279, allocations: 40 kB / 0.8935 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.005368, allocations: 51.98 kB / 0.8936 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.005417, allocations: 43.84 kB / 0.8936 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.005515, allocations: 135.8 kB / 0.8937 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.005802, allocations: 359.1 kB / 0.8941 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005805, allocations: 3.984 kB / 0.8941 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.343e-06/0.005806, allocations: 0 / 0.8941 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.00581, allocations: 0 / 0.8941 GB, free: 5.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005329/0.006343, allocations: 0.672 MB / 0.8947 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.006379, allocations: 8.625 kB / 0.8948 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.00645, allocations: 48.77 kB / 0.8948 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.006653, allocations: 204.3 kB / 0.895 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.006673, allocations: 20.36 kB / 0.895 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.00671, allocations: 28.38 kB / 0.895 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.00684, allocations: 121 kB / 0.8952 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.006847, allocations: 8.172 kB / 0.8952 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.006857, allocations: 4.375 kB / 0.8952 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006863, allocations: 4.375 kB / 0.8952 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.0069, allocations: 31.91 kB / 0.8952 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.007397, allocations: 0.6236 MB / 0.8958 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.646e-05/0.007493, allocations: 75.02 kB / 0.8959 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.007519, allocations: 23.67 kB / 0.8959 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.007526, allocations: 4 kB / 0.8959 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.007657, allocations: 146.4 kB / 0.896 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.007658, allocations: 0 / 0.896 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002484/0.007907, allocations: 195.5 kB / 0.8962 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.007936, allocations: 55.41 kB / 0.8963 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008055, allocations: 243.1 kB / 0.8965 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.008089, allocations: 45.64 kB / 0.8966 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.008167, allocations: 167.4 kB / 0.8967 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.008197, allocations: 43.73 kB / 0.8968 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.008316, allocations: 127.1 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.008436, allocations: 0.5156 MB / 0.8974 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.008611, allocations: 252.4 kB / 0.8976 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.008836, allocations: 369.5 kB / 0.898 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.009112, allocations: 400.4 kB / 0.8984 GB, free: 472 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009115, allocations: 0 / 0.8984 GB, free: 472 kB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006492/0.009764, allocations: 0.7009 MB / 0.899 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.009858, allocations: 160.5 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.009867, allocations: 4.344 kB / 0.8992 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.009882, allocations: 8 kB / 0.8992 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.00991, allocations: 11.92 kB / 0.8992 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.009916, allocations: 4 kB / 0.8992 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.01023, allocations: 103.8 kB / 0.8993 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.01027, allocations: 39.91 kB / 0.8994 GB, free: 15.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001461/0.01042, allocations: 186 kB / 0.8995 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.01045, allocations: 31.95 kB / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.01049, allocations: 17.81 kB / 0.8996 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.01049, allocations: 4 kB / 0.8996 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.0105, allocations: 0 / 0.8996 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0105, allocations: 0 / 0.8996 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.0109, allocations: 433.6 kB / 0.9 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.0109, allocations: 0 / 0.9 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.01091, allocations: 8 kB / 0.9 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01092, allocations: 0 / 0.9 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01092, allocations: 8 kB / 0.9 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.01093, allocations: 0 / 0.9 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01093, allocations: 3.938 kB / 0.9 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.01114, allocations: 313.7 kB / 0.9003 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01115, allocations: 11.91 kB / 0.9003 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.01117, allocations: 7.984 kB / 0.9003 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.01121, allocations: 7.938 kB / 0.9004 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.01126, allocations: 15.97 kB / 0.9004 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01127, allocations: 11.94 kB / 0.9004 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.01134, allocations: 160.1 kB / 0.9005 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01134, allocations: 0 / 0.9005 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002808/0.01162, allocations: 83.88 kB / 0.9006 GB, free: 14 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002026/0.01182, allocations: 112.4 kB / 0.9007 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.01234, allocations: 0.65 MB / 0.9014 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01234, allocations: 0 / 0.9014 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.01242, allocations: 69.36 kB / 0.9014 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.01273, allocations: 43.98 kB / 0.9015 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.01316, allocations: 307.3 kB / 0.9018 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.01321, allocations: 79.92 kB / 0.9018 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.651e-05/0.01327, allocations: 25.47 kB / 0.9019 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.01349, allocations: 162.1 kB / 0.902 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/0.01349, allocations: 0 / 0.902 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.007113/0.02061, allocations: 5.512 MB / 0.9074 GB, free: 7.023 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.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.277978857979178]