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.001436/0.001436, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001867/0.003303, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009383/0.0009383, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002268, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.106/1.106, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1366/1.242, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.587/2.587, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2537/2.841, allocations: 145.9 MB / 0.817 GB, free: 4.195 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.275e-06/2.275e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.955e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002207/0.002237, allocations: 0.8632 MB / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.004232, allocations: 1.536 MB / 0.8207 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.004321, allocations: 7.938 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.227e-05/0.004414, allocations: 23.8 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.004494, allocations: 35.72 kB / 0.8207 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.00562, allocations: 0.4911 MB / 0.8212 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.006247, allocations: 471.2 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.006393, allocations: 38.2 kB / 0.8217 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.006729, allocations: 271.7 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.006992, allocations: 139.7 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.007068, allocations: 40 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.00722, allocations: 51.98 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.296e-05/0.007283, allocations: 39.86 kB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.007429, allocations: 91.88 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.007842, allocations: 283.3 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.948e-05/0.007862, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007863, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.025e-05/0.007883, allocations: 0 / 0.8226 GB, free: 14.5 MB / 0.8073 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.0008292/0.008712, allocations: 0.5861 MB / 0.8231 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.008754, allocations: 8.625 kB / 0.8231 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.008853, allocations: 44.81 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.009139, allocations: 177.5 kB / 0.8234 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.009167, allocations: 16.38 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.00923, allocations: 32.36 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.009411, allocations: 111.8 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.00942, allocations: 4.188 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.009435, allocations: 4.375 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.009442, allocations: 4.375 kB / 0.8235 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.009502, allocations: 27.92 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.01014, allocations: 407.2 kB / 0.8239 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.01027, allocations: 54.5 kB / 0.824 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.01031, allocations: 24.84 kB / 0.824 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.01032, allocations: 4 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.01053, allocations: 143.3 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.01053, allocations: 0 / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002838/0.01081, allocations: 145 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.01086, allocations: 55.41 kB / 0.8243 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.01101, allocations: 182.4 kB / 0.8245 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.01106, allocations: 41.7 kB / 0.8246 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.01115, allocations: 120.6 kB / 0.8247 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.01119, allocations: 43.72 kB / 0.8247 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.01136, allocations: 109.6 kB / 0.8248 GB, free: 12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01147, allocations: 338.7 kB / 0.8251 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.01172, allocations: 248.4 kB / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.01201, allocations: 331.5 kB / 0.8257 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.01236, allocations: 383.4 kB / 0.8261 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01237, allocations: 0 / 0.8261 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006487/0.01302, allocations: 0.6093 MB / 0.8267 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.01312, allocations: 164.5 kB / 0.8268 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.01313, allocations: 8.328 kB / 0.8268 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01315, allocations: 8 kB / 0.8268 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.01318, allocations: 7.938 kB / 0.8268 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01319, allocations: 8 kB / 0.8268 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/0.01361, allocations: 103.8 kB / 0.8269 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.01367, allocations: 27.97 kB / 0.827 GB, free: 9.531 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.0001371/0.01381, allocations: 150 kB / 0.8271 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.01384, allocations: 19.98 kB / 0.8271 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.01388, allocations: 17.81 kB / 0.8271 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01388, allocations: 4 kB / 0.8272 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01389, allocations: 0 / 0.8272 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01389, allocations: 3.984 kB / 0.8272 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.01428, allocations: 342.4 kB / 0.8275 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01429, allocations: 0 / 0.8275 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.01431, allocations: 11.98 kB / 0.8275 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.01433, allocations: 15.91 kB / 0.8275 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01433, allocations: 0 / 0.8275 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01434, allocations: 4 kB / 0.8275 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01434, allocations: 4 kB / 0.8275 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01435, allocations: 7.875 kB / 0.8275 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.01452, allocations: 203.4 kB / 0.8277 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.01454, allocations: 4 kB / 0.8277 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.01462, allocations: 7.984 kB / 0.8277 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.01468, allocations: 22.8 kB / 0.8278 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.01469, allocations: 0 / 0.8278 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.01474, allocations: 57.75 kB / 0.8278 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01474, allocations: 4 kB / 0.8278 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003663/0.0151, allocations: 75.94 kB / 0.8279 GB, free: 8.539 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.0001717/0.01528, allocations: 101.1 kB / 0.828 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005977/0.01587, allocations: 0.6354 MB / 0.8286 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01588, allocations: 7.938 kB / 0.8286 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.147e-05/0.01595, allocations: 59.3 kB / 0.8287 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.0163, allocations: 63.84 kB / 0.8287 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.01703, allocations: 304.5 kB / 0.829 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.01709, allocations: 75.98 kB / 0.8291 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.056e-05/0.01714, allocations: 21.48 kB / 0.8291 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.01734, allocations: 135.2 kB / 0.8292 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.01734, allocations: 0 / 0.8292 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of Templates: time 0.007451/0.02479, allocations: 5.697 MB / 0.8348 GB, free: 1.43 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.ref.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.721132882870734]