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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 113.8 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 192.7 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002102/0.002102, allocations: 67.89 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001865/1.058, allocations: 0.8402 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001845/1.06, allocations: 1.482 MB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/1.06, allocations: 1.625 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/1.06, allocations: 19.41 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/1.06, allocations: 28.33 kB / 1.265 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/1.062, allocations: 0.5195 MB / 1.265 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/1.062, allocations: 0.5011 MB / 1.266 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/1.062, allocations: 40.69 kB / 1.266 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/1.063, allocations: 176.8 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/1.063, allocations: 180.6 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/1.063, allocations: 40.75 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/1.063, allocations: 54 kB / 1.266 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/1.063, allocations: 42.44 kB / 1.266 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/1.064, allocations: 163.1 kB / 1.267 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005573/1.064, allocations: 413.6 kB / 1.267 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.064, allocations: 1.203 kB / 1.267 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.512e-06/1.064, allocations: 0 / 1.267 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.064, allocations: 0 / 1.267 GB, free: 5.512 MB / 0.9981 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.0007285/1.065, allocations: 0.64 MB / 1.268 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.065, allocations: 14.56 kB / 1.268 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.065, allocations: 33.69 kB / 1.268 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/1.065, allocations: 263.5 kB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/1.065, allocations: 18.66 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/1.065, allocations: 29.62 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/1.066, allocations: 151.4 kB / 1.268 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.066, allocations: 4.734 kB / 1.268 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/1.066, allocations: 6.312 kB / 1.268 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.066, allocations: 10.61 kB / 1.268 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/1.066, allocations: 86.78 kB / 1.268 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/1.067, allocations: 0.7121 MB / 1.269 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/1.067, allocations: 166.3 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.588e-05/1.067, allocations: 51.28 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/1.067, allocations: 1.594 kB / 1.269 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/1.067, allocations: 156.2 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/1.067, allocations: 0 / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0005247/1.068, allocations: 246.2 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/1.068, allocations: 55.25 kB / 1.27 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/1.068, allocations: 188 kB / 1.27 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.068, allocations: 40.64 kB / 1.27 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/1.068, allocations: 127.1 kB / 1.27 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/1.068, allocations: 46.77 kB / 1.27 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.069, allocations: 114.2 kB / 1.27 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/1.069, allocations: 329 kB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/1.069, allocations: 152.9 kB / 1.27 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/1.069, allocations: 237.6 kB / 1.271 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/1.07, allocations: 412.3 kB / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.07, allocations: 5.594 kB / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001071/1.071, allocations: 0.6127 MB / 1.272 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.1e-05/1.071, allocations: 165.1 kB / 1.272 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/1.071, allocations: 6.719 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.071, allocations: 4.031 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/1.071, allocations: 21.08 kB / 1.272 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.071, allocations: 3.656 kB / 1.272 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/1.072, allocations: 136 kB / 1.272 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/1.072, allocations: 36.55 kB / 1.272 GB, free: 1.875 MB / 0.9981 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.0001889/1.072, allocations: 160.9 kB / 1.272 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/1.072, allocations: 15.75 kB / 1.272 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/1.072, allocations: 25.64 kB / 1.272 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.072, allocations: 2.5 kB / 1.272 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.072, allocations: 4 kB / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.072, allocations: 0 / 1.272 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/1.073, allocations: 0.5096 MB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.073, allocations: 0.8125 kB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/1.073, allocations: 2.812 kB / 1.273 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.073, allocations: 5.156 kB / 1.273 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/1.073, allocations: 5.25 kB / 1.273 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.073, allocations: 3.938 kB / 1.273 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.073, allocations: 1.125 kB / 1.273 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/1.073, allocations: 289.5 kB / 1.273 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/1.073, allocations: 97.41 kB / 1.273 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/1.073, allocations: 5.406 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/1.073, allocations: 1.344 kB / 1.273 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/1.074, allocations: 23.56 kB / 1.273 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/1.074, allocations: 6.75 kB / 1.273 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.069e-05/1.074, allocations: 122.5 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0.9375 kB / 1.273 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000464/1.074, allocations: 78.02 kB / 1.273 GB, free: 0.9062 MB / 0.9981 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.0001681/1.074, allocations: 122.4 kB / 1.273 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007998/1.075, allocations: 0.6161 MB / 1.274 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.075, allocations: 1.25 kB / 1.274 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/1.075, allocations: 82.75 kB / 1.274 GB, free: 344 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/1.076, allocations: 48.39 kB / 1.274 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/1.076, allocations: 360.9 kB / 1.275 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/1.077, allocations: 0.7318 MB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/1.077, allocations: 19.06 kB / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of SimCode: time 2.254e-06/1.077, allocations: 0 / 1.275 GB, free: 15.36 MB / 1.014 GB Notification: Performance of Templates: time 0.007448/1.084, allocations: 3.348 MB / 1.279 GB, free: 15.01 MB / 1.014 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 12.33951248996891]