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.001805/0.001805, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002119/0.002119, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.45/3.45, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8775 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.951e-05, allocations: 5.688 kB / 0.8775 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00279/0.00283, allocations: 0.8214 MB / 0.8783 GB, free: 4.711 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.005905, allocations: 1.517 MB / 0.8797 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.006015, allocations: 0 / 0.8797 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.006169, allocations: 21.11 kB / 0.8798 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.006298, allocations: 40.62 kB / 0.8798 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.008034, allocations: 0.4946 MB / 0.8803 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0009662/0.009, allocations: 484.6 kB / 0.8808 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.00918, allocations: 37.59 kB / 0.8808 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.009723, allocations: 259.6 kB / 0.881 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.01015, allocations: 147.6 kB / 0.8812 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.01031, allocations: 41.16 kB / 0.8812 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.0105, allocations: 55.92 kB / 0.8813 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.01059, allocations: 39.91 kB / 0.8813 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.01088, allocations: 143.1 kB / 0.8814 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.01177, allocations: 490.7 kB / 0.8819 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.01177, allocations: 4 kB / 0.8819 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01177, allocations: 0 / 0.8819 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.01178, allocations: 0 / 0.8819 GB, free: 0.9727 MB / 0.7917 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.001282/0.01307, allocations: 0.6795 MB / 0.8826 GB, free: 228 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.01311, allocations: 12.03 kB / 0.8826 GB, free: 216 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.0133, allocations: 32.84 kB / 0.8826 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.01382, allocations: 204.8 kB / 0.8828 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.01386, allocations: 16.97 kB / 0.8828 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.01396, allocations: 28.38 kB / 0.8829 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.0143, allocations: 137 kB / 0.883 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01431, allocations: 192 / 0.883 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.01434, allocations: 8.359 kB / 0.883 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01434, allocations: 4.375 kB / 0.883 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.01451, allocations: 53.39 kB / 0.8831 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.01585, allocations: 0.6699 MB / 0.8837 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.0161, allocations: 91.05 kB / 0.8838 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01622, allocations: 43.66 kB / 0.8838 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.01625, allocations: 8.109 kB / 0.8838 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.01658, allocations: 160.9 kB / 0.884 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.01658, allocations: 0 / 0.884 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0007463/0.01733, allocations: 239.5 kB / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.0174, allocations: 63.39 kB / 0.8843 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.01772, allocations: 264.8 kB / 0.8845 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.559e-05/0.0178, allocations: 37.7 kB / 0.8846 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01796, allocations: 183.4 kB / 0.8847 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.01802, allocations: 47.67 kB / 0.8848 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.0183, allocations: 135.3 kB / 0.8849 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003301/0.01863, allocations: 0.5001 MB / 0.8854 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000532/0.01916, allocations: 348.5 kB / 0.8857 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.01975, allocations: 465.5 kB / 0.8862 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.02037, allocations: 464.6 kB / 0.8866 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.02037, allocations: 0 / 0.8866 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001327/0.0217, allocations: 0.8538 MB / 0.8875 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.02184, allocations: 164.5 kB / 0.8876 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.02185, allocations: 0 / 0.8876 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.02186, allocations: 7.938 kB / 0.8876 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.0219, allocations: 8 kB / 0.8876 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.02191, allocations: 7.938 kB / 0.8876 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.02252, allocations: 111.8 kB / 0.8878 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.02259, allocations: 31.98 kB / 0.8878 GB, free: 10.43 MB / 0.8073 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.0002037/0.0228, allocations: 197.9 kB / 0.888 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.02283, allocations: 23.91 kB / 0.888 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.02289, allocations: 21.8 kB / 0.888 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.02289, allocations: 4 kB / 0.888 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.0229, allocations: 0 / 0.888 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.0229, allocations: 7.938 kB / 0.888 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.02353, allocations: 499.3 kB / 0.8885 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02354, allocations: 0 / 0.8885 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.02356, allocations: 11.92 kB / 0.8885 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02356, allocations: 0 / 0.8885 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.02358, allocations: 4 kB / 0.8885 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.02358, allocations: 3.938 kB / 0.8885 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02358, allocations: 0 / 0.8885 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.02397, allocations: 343.7 kB / 0.8888 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.024, allocations: 15.84 kB / 0.8889 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.02402, allocations: 0 / 0.8889 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.02409, allocations: 19.92 kB / 0.8889 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.02415, allocations: 19.91 kB / 0.8889 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.02416, allocations: 8 kB / 0.8889 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001438/0.02431, allocations: 171.4 kB / 0.8891 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02431, allocations: 0 / 0.8891 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003671/0.02467, allocations: 75.95 kB / 0.8891 GB, free: 8.957 MB / 0.8073 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.0002018/0.02488, allocations: 112.4 kB / 0.8893 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.02595, allocations: 0.8222 MB / 0.8901 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02595, allocations: 0 / 0.8901 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.02608, allocations: 77.48 kB / 0.8901 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.02651, allocations: 50.67 kB / 0.8902 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.02717, allocations: 335.3 kB / 0.8905 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.0273, allocations: 112.4 kB / 0.8906 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.431e-05/0.02737, allocations: 25.47 kB / 0.8906 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.02741, allocations: 20.5 kB / 0.8906 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.02741, allocations: 4 kB / 0.8907 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of Templates: time 0.01222/0.03963, allocations: 5.091 MB / 0.8956 GB, free: 2.289 MB / 0.8073 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.63582280301489]