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.00138/0.00138, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001398/0.001398, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.156 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 2.93/2.93, allocations: 496.2 MB / 0.7819 GB, free: 12.4 MB / 0.6231 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.003174/0.003174, allocations: 71.88 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001993/1.065, allocations: 0.8301 MB / 1.306 GB, free: 32.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001736/1.066, allocations: 1.496 MB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/1.067, allocations: 3 kB / 1.308 GB, free: 31.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/1.067, allocations: 15.09 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/1.067, allocations: 36.38 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/1.068, allocations: 0.524 MB / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006398/1.069, allocations: 475.2 kB / 1.309 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/1.069, allocations: 35.12 kB / 1.309 GB, free: 31.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/1.069, allocations: 176.8 kB / 1.309 GB, free: 31.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/1.069, allocations: 178.3 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/1.069, allocations: 41.25 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/1.07, allocations: 55.11 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/1.07, allocations: 44.81 kB / 1.309 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/1.07, allocations: 163.4 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/1.07, allocations: 418.1 kB / 1.31 GB, free: 30.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.07, allocations: 6.594 kB / 1.31 GB, free: 30.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.525e-06/1.07, allocations: 0 / 1.31 GB, free: 30.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.427e-05/1.07, allocations: 0 / 1.31 GB, free: 30.93 MB / 1.061 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.0009856/1.071, allocations: 0.6411 MB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.071, allocations: 13.98 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.072, allocations: 33.31 kB / 1.31 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/1.072, allocations: 258.8 kB / 1.311 GB, free: 30.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.072, allocations: 23.33 kB / 1.311 GB, free: 30.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/1.072, allocations: 30.41 kB / 1.311 GB, free: 30.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/1.072, allocations: 146.1 kB / 1.311 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.072, allocations: 3 kB / 1.311 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.072, allocations: 7.938 kB / 1.311 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.072, allocations: 2.969 kB / 1.311 GB, free: 29.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/1.073, allocations: 90.03 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/1.074, allocations: 0.7035 MB / 1.312 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/1.074, allocations: 163.4 kB / 1.312 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/1.074, allocations: 42.97 kB / 1.312 GB, free: 29.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/1.074, allocations: 12.06 kB / 1.312 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003528/1.074, allocations: 155.7 kB / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.482e-06/1.074, allocations: 0 / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005299/1.075, allocations: 244.4 kB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/1.075, allocations: 57.19 kB / 1.312 GB, free: 29.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/1.075, allocations: 191.6 kB / 1.313 GB, free: 28.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/1.075, allocations: 42.27 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.075, allocations: 130.4 kB / 1.313 GB, free: 28.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/1.075, allocations: 44.73 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/1.075, allocations: 110.5 kB / 1.313 GB, free: 28.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.075, allocations: 335.2 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/1.076, allocations: 156.7 kB / 1.313 GB, free: 28.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/1.076, allocations: 236.7 kB / 1.314 GB, free: 28.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/1.077, allocations: 414.6 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.077, allocations: 2.5 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009307/1.078, allocations: 0.6316 MB / 1.315 GB, free: 27.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/1.078, allocations: 161.4 kB / 1.315 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.078, allocations: 6.906 kB / 1.315 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/1.078, allocations: 2.781 kB / 1.315 GB, free: 27.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/1.078, allocations: 13.81 kB / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.078, allocations: 6.312 kB / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/1.078, allocations: 141.6 kB / 1.315 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/1.079, allocations: 33.2 kB / 1.315 GB, free: 27.29 MB / 1.061 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.0001992/1.079, allocations: 159.3 kB / 1.315 GB, free: 27.15 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/1.079, allocations: 16.12 kB / 1.315 GB, free: 27.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/1.079, allocations: 23.78 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.079, allocations: 3.344 kB / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.079, allocations: 0 / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.079, allocations: 0 / 1.315 GB, free: 27.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/1.079, allocations: 0.5126 MB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.079, allocations: 0 / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/1.079, allocations: 2.719 kB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.079, allocations: 2.719 kB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/1.079, allocations: 13.8 kB / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.079, allocations: 0 / 1.316 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.079, allocations: 3.938 kB / 1.316 GB, free: 26.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/1.08, allocations: 288.4 kB / 1.316 GB, free: 26.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/1.08, allocations: 94.73 kB / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/1.08, allocations: 2.562 kB / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/1.08, allocations: 10.05 kB / 1.316 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/1.08, allocations: 18.08 kB / 1.316 GB, free: 26.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/1.08, allocations: 5.375 kB / 1.316 GB, free: 26.42 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.493e-05/1.08, allocations: 119.9 kB / 1.316 GB, free: 26.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.08, allocations: 0 / 1.316 GB, free: 26.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003722/1.08, allocations: 83.42 kB / 1.316 GB, free: 26.32 MB / 1.061 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.0002057/1.081, allocations: 118.8 kB / 1.316 GB, free: 26.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007198/1.081, allocations: 0.5464 MB / 1.317 GB, free: 25.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.081, allocations: 0 / 1.317 GB, free: 25.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/1.081, allocations: 70.86 kB / 1.317 GB, free: 25.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/1.082, allocations: 55.41 kB / 1.317 GB, free: 25.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/1.082, allocations: 328.3 kB / 1.317 GB, free: 25.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.083, allocations: 0.7288 MB / 1.318 GB, free: 24.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.172e-05/1.083, allocations: 28.23 kB / 1.318 GB, free: 24.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/1.083, allocations: 17.94 kB / 1.318 GB, free: 24.86 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/1.083, allocations: 0 / 1.318 GB, free: 24.86 MB / 1.061 GB Notification: Performance of Templates: time 0.008452/1.091, allocations: 4.605 MB / 1.323 GB, free: 24.48 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] 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: 9.809069508686662]