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.00181/0.00181, allocations: 78.72 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002148/0.002148, allocations: 171.7 kB / 22.46 MB, free: 5.363 MB / 14.72 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.587/1.587, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.097/3.097, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.515e-06/2.515e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.05e-05/4.301e-05, allocations: 6.219 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00237/0.002413, allocations: 0.8067 MB / 1.001 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.00504, allocations: 1.501 MB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.005194, allocations: 4 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.005367, allocations: 19.73 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.005494, allocations: 43.64 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.007136, allocations: 0.5166 MB / 1.003 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000844/0.00798, allocations: 491.1 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.008167, allocations: 29.66 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.008697, allocations: 251.7 kB / 1.004 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.009047, allocations: 147.6 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.009157, allocations: 40 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.009312, allocations: 48 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.009399, allocations: 47.83 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.009634, allocations: 135.8 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.0104, allocations: 490.8 kB / 1.005 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01041, allocations: 4 kB / 1.005 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01041, allocations: 0 / 1.005 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.01042, allocations: 3.938 kB / 1.005 GB, free: 2.727 MB / 0.9512 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.001022/0.01144, allocations: 0.5759 MB / 1.005 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.01149, allocations: 8.031 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.01162, allocations: 36.78 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01202, allocations: 193.5 kB / 1.005 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.01205, allocations: 20.36 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.01213, allocations: 28.38 kB / 1.005 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.0125, allocations: 159.8 kB / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.01251, allocations: 192 / 1.006 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01253, allocations: 8.375 kB / 1.006 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.01254, allocations: 4.375 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.01272, allocations: 87.88 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.01377, allocations: 0.5625 MB / 1.006 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.014, allocations: 82.55 kB / 1.006 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.01408, allocations: 40.84 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.0141, allocations: 0 / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.01448, allocations: 159.4 kB / 1.006 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.01448, allocations: 3.938 kB / 1.006 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.000583/0.01507, allocations: 247.1 kB / 1.007 GB, free: 376 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.01513, allocations: 59.41 kB / 1.007 GB, free: 304 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01534, allocations: 178.2 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/0.01541, allocations: 37.7 kB / 1.007 GB, free: 72 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.01557, allocations: 136.6 kB / 1.007 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.01563, allocations: 39.69 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.01585, allocations: 117.6 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01601, allocations: 326.8 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.01646, allocations: 304.4 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.01698, allocations: 403.2 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.01754, allocations: 406.7 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.01754, allocations: 0 / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001244/0.01879, allocations: 0.7755 MB / 1.009 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.01892, allocations: 160.5 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.01893, allocations: 4 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.01896, allocations: 4.344 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.019, allocations: 8 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.01901, allocations: 11.92 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.01984, allocations: 151.6 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/0.01991, allocations: 31.98 kB / 1.01 GB, free: 12.95 MB / 0.9669 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.0002367/0.02015, allocations: 155.8 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.02018, allocations: 16 kB / 1.01 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.02023, allocations: 25.75 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.02024, allocations: 7.984 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.02025, allocations: 0 / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.02025, allocations: 3.938 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.02086, allocations: 448.5 kB / 1.01 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.02086, allocations: 0 / 1.01 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.502e-05/0.02089, allocations: 7.984 kB / 1.01 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.02089, allocations: 0 / 1.01 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.02091, allocations: 4 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.02091, allocations: 3.938 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02091, allocations: 3.938 kB / 1.01 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.02127, allocations: 283.3 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.0213, allocations: 15.91 kB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.02133, allocations: 4 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.0214, allocations: 7.922 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.02147, allocations: 23.97 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.02148, allocations: 12 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001098/0.02159, allocations: 124.2 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02159, allocations: 0 / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004087/0.022, allocations: 79.92 kB / 1.011 GB, free: 11.69 MB / 0.9669 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.0002495/0.02225, allocations: 111.6 kB / 1.011 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000984/0.02323, allocations: 0.7086 MB / 1.012 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.02324, allocations: 4 kB / 1.012 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.02335, allocations: 58.16 kB / 1.012 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.02379, allocations: 47.89 kB / 1.012 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.02447, allocations: 327 kB / 1.012 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.02459, allocations: 124.1 kB / 1.012 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.782e-05/0.02467, allocations: 21.48 kB / 1.012 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.02471, allocations: 24.48 kB / 1.012 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.02472, allocations: 0 / 1.012 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.01107/0.03578, allocations: 5.054 MB / 1.017 GB, free: 5.195 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 800] 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.845584448426962]