Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001429/0.001429, allocations: 81.95 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.001111/0.001111, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9923/0.9923, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.885/1.885, allocations: 359 MB / 0.6063 GB, free: 10.91 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.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.317e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00204/0.002063, allocations: 0.8336 MB / 0.7891 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.004239, allocations: 1.538 MB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.004323, allocations: 0 / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.004454, allocations: 15.8 kB / 0.7907 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.518e-05/0.004539, allocations: 41.22 kB / 0.7907 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.005752, allocations: 0.5016 MB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.006351, allocations: 475.1 kB / 0.7916 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.006496, allocations: 31.73 kB / 0.7917 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.006817, allocations: 259.7 kB / 0.7919 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.007073, allocations: 139.7 kB / 0.792 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.007156, allocations: 40 kB / 0.7921 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.007271, allocations: 55.97 kB / 0.7921 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.007335, allocations: 47.83 kB / 0.7922 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.007502, allocations: 130 kB / 0.7923 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.008047, allocations: 359 kB / 0.7926 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.008049, allocations: 0 / 0.7926 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00805, allocations: 0 / 0.7926 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.862e-06/0.008055, allocations: 4 kB / 0.7927 GB, free: 7.789 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000722/0.008777, allocations: 0.6689 MB / 0.7933 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.008817, allocations: 12.03 kB / 0.7933 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.00893, allocations: 41.33 kB / 0.7934 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.009213, allocations: 196.3 kB / 0.7935 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.009244, allocations: 26.03 kB / 0.7936 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.009311, allocations: 32.36 kB / 0.7936 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.009528, allocations: 115.8 kB / 0.7937 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.009538, allocations: 192 / 0.7937 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.009557, allocations: 16.95 kB / 0.7937 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.009564, allocations: 384 / 0.7937 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.009634, allocations: 43.97 kB / 0.7938 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.01036, allocations: 0.6209 MB / 0.7944 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.01051, allocations: 74.97 kB / 0.7944 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.01056, allocations: 25.05 kB / 0.7945 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.01056, allocations: 0 / 0.7945 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.01075, allocations: 142.8 kB / 0.7946 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.01075, allocations: 1.75 kB / 0.7946 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003705/0.01112, allocations: 202.1 kB / 0.7948 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.01116, allocations: 55.41 kB / 0.7949 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01132, allocations: 238.9 kB / 0.7951 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.01137, allocations: 38.58 kB / 0.7951 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.01149, allocations: 179.3 kB / 0.7953 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.01153, allocations: 39.73 kB / 0.7953 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/0.0118, allocations: 128.8 kB / 0.7955 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.01194, allocations: 0.5039 MB / 0.7959 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.01222, allocations: 248.4 kB / 0.7962 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.01257, allocations: 380.5 kB / 0.7965 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.01294, allocations: 382.6 kB / 0.7969 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.01294, allocations: 4.062 kB / 0.7969 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009199/0.01386, allocations: 0.7152 MB / 0.7976 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.01396, allocations: 170.9 kB / 0.7978 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01397, allocations: 0 / 0.7978 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01398, allocations: 4 kB / 0.7978 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.07e-05/0.01401, allocations: 11.94 kB / 0.7978 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01402, allocations: 4 kB / 0.7978 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.01451, allocations: 109.4 kB / 0.7979 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.01457, allocations: 33.2 kB / 0.7979 GB, free: 1.887 MB / 0.7448 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.0001519/0.01472, allocations: 190.8 kB / 0.7981 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.01476, allocations: 23.91 kB / 0.7981 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.0148, allocations: 28.55 kB / 0.7982 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0148, allocations: 0 / 0.7982 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.0148, allocations: 4 kB / 0.7982 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01481, allocations: 0 / 0.7982 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.01525, allocations: 439.9 kB / 0.7986 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.01526, allocations: 0 / 0.7986 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.01527, allocations: 4 kB / 0.7986 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.01528, allocations: 6.297 kB / 0.7986 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01529, allocations: 8 kB / 0.7986 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.0153, allocations: 0 / 0.7986 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0153, allocations: 0 / 0.7986 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.01571, allocations: 311.6 kB / 0.7989 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.01573, allocations: 15.91 kB / 0.7989 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.01575, allocations: 0 / 0.7989 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.01582, allocations: 4.938 kB / 0.7989 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.01587, allocations: 19.97 kB / 0.7989 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.01589, allocations: 13.05 kB / 0.7989 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.604e-05/0.01596, allocations: 160.1 kB / 0.7991 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01596, allocations: 0 / 0.7991 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000399/0.01636, allocations: 77.03 kB / 0.7992 GB, free: 0.5586 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: 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.0001335/0.01649, allocations: 113.1 kB / 0.7993 GB, free: 452 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006339/0.01713, allocations: 0.6542 MB / 0.7999 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01713, allocations: 0 / 0.7999 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.01722, allocations: 63.58 kB / 0.8 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.01761, allocations: 54.75 kB / 0.8 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.01809, allocations: 299.3 kB / 0.8003 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.01816, allocations: 80.58 kB / 0.8004 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.0182, allocations: 18.52 kB / 0.8004 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.01841, allocations: 166.1 kB / 0.8006 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.01841, allocations: 0 / 0.8006 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of Templates: time 0.006246/0.02465, allocations: 5.641 MB / 0.8061 GB, free: 9.469 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.280011360067874]