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.001288/0.001288, 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.00164/0.00164, 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.355/2.355, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.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.264e-06/2.264e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.44e-05, allocations: 7.406 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001683/0.001708, allocations: 0.8274 MB / 0.8802 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.003356, allocations: 1.532 MB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.003458, allocations: 7.938 kB / 0.8817 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.003596, allocations: 15.8 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.003664, allocations: 36.45 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.004996, allocations: 0.4994 MB / 0.8823 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.005522, allocations: 491 kB / 0.8827 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.005659, allocations: 29.66 kB / 0.8828 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.005908, allocations: 258.6 kB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.006113, allocations: 143.7 kB / 0.8831 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.006166, allocations: 44 kB / 0.8832 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.006268, allocations: 44 kB / 0.8832 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.006323, allocations: 47.83 kB / 0.8833 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.006445, allocations: 135.8 kB / 0.8834 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.006803, allocations: 355.1 kB / 0.8837 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.006807, allocations: 7.875 kB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.006808, allocations: 0.7188 kB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.006813, allocations: 0 / 0.8837 GB, free: 1.57 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000601/0.007414, allocations: 0.6734 MB / 0.8844 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.00745, allocations: 8.031 kB / 0.8844 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.007537, allocations: 40.84 kB / 0.8844 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.007757, allocations: 205.3 kB / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.007779, allocations: 20.38 kB / 0.8847 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.007821, allocations: 32.36 kB / 0.8847 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.007964, allocations: 119.2 kB / 0.8848 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007975, allocations: 4.172 kB / 0.8848 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.007986, allocations: 4.375 kB / 0.8848 GB, free: 376 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.007992, allocations: 4.375 kB / 0.8848 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.008033, allocations: 33.73 kB / 0.8849 GB, free: 340 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.00862, allocations: 0.6236 MB / 0.8855 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.008732, allocations: 75.02 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.008762, allocations: 23.67 kB / 0.8856 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.008771, allocations: 7.938 kB / 0.8856 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.008924, allocations: 146.5 kB / 0.8857 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.008926, allocations: 0 / 0.8857 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002813/0.009207, allocations: 199.9 kB / 0.8859 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.009244, allocations: 59.34 kB / 0.886 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.009381, allocations: 242.1 kB / 0.8862 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.009428, allocations: 45.69 kB / 0.8862 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.009516, allocations: 171.4 kB / 0.8864 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.009546, allocations: 43.73 kB / 0.8864 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.009682, allocations: 119.2 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.009819, allocations: 0.5078 MB / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.01003, allocations: 252.5 kB / 0.8873 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01026, allocations: 373.5 kB / 0.8876 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.01054, allocations: 396.6 kB / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01054, allocations: 0 / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006289/0.01117, allocations: 0.717 MB / 0.8887 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/0.01126, allocations: 164.5 kB / 0.8889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.01127, allocations: 4 kB / 0.8889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01128, allocations: 4 kB / 0.8889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.359e-05/0.0113, allocations: 7.938 kB / 0.8889 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.01131, allocations: 7.984 kB / 0.8889 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/0.01194, allocations: 103.9 kB / 0.889 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.01198, allocations: 35.92 kB / 0.889 GB, free: 11.63 MB / 0.8542 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.000126/0.01211, allocations: 186 kB / 0.8892 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.01213, allocations: 31.86 kB / 0.8892 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.01217, allocations: 17.8 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01217, allocations: 4 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01217, allocations: 0 / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01218, allocations: 4 kB / 0.8893 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.01253, allocations: 429.7 kB / 0.8897 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01253, allocations: 0 / 0.8897 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.01254, allocations: 11.92 kB / 0.8897 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01254, allocations: 0 / 0.8897 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01255, allocations: 11.94 kB / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01256, allocations: 0 / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01256, allocations: 0 / 0.8897 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.01274, allocations: 309 kB / 0.89 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.01276, allocations: 11.91 kB / 0.89 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.01277, allocations: 0 / 0.89 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.265e-05/0.01281, allocations: 15.98 kB / 0.89 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.01285, allocations: 11.98 kB / 0.89 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01286, allocations: 15.92 kB / 0.89 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.01292, allocations: 155.1 kB / 0.8902 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01292, allocations: 0 / 0.8902 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000353/0.01327, allocations: 79.89 kB / 0.8903 GB, free: 10.3 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: 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.0002095/0.01348, allocations: 115.1 kB / 0.8904 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005166/0.014, allocations: 0.6499 MB / 0.891 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.014, allocations: 0 / 0.891 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.01407, allocations: 65.27 kB / 0.8911 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01437, allocations: 48.67 kB / 0.8911 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.0148, allocations: 307.3 kB / 0.8914 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.01485, allocations: 79.92 kB / 0.8915 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.01491, allocations: 21.47 kB / 0.8915 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.01514, allocations: 170 kB / 0.8917 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.01514, allocations: 0 / 0.8917 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of Templates: time 0.008597/0.02374, allocations: 5.633 MB / 0.8972 GB, free: 3.199 MB / 0.8542 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: 6.108346563298255]