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.001475/0.001475, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001656/0.001656, allocations: 189.6 kB / 22.23 MB, free: 5.137 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.552/1.552, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.368/3.368, allocations: 0.4893 GB / 0.7884 GB, free: 33.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002029/0.002029, allocations: 64.7 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.4588, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002428/0.4612, allocations: 0.8419 MB / 1.317 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.4636, allocations: 1.486 MB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.4638, allocations: 3.938 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.4639, allocations: 15.81 kB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.464, allocations: 43.7 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4654, allocations: 0.5159 MB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.466, allocations: 479.2 kB / 1.319 GB, free: 6.367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.4662, allocations: 29.66 kB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.4664, allocations: 187.7 kB / 1.32 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.4667, allocations: 183.4 kB / 1.32 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/0.4668, allocations: 40 kB / 1.32 GB, free: 5.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4669, allocations: 48 kB / 1.32 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.467, allocations: 39.91 kB / 1.32 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4672, allocations: 167.5 kB / 1.32 GB, free: 5.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.4678, allocations: 418.6 kB / 1.32 GB, free: 5.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4678, allocations: 4 kB / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4678, allocations: 0 / 1.32 GB, free: 5.266 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4678, allocations: 0 / 1.32 GB, free: 5.266 MB / 1.014 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.000987/0.4688, allocations: 0.5684 MB / 1.321 GB, free: 4.633 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.4689, allocations: 8.031 kB / 1.321 GB, free: 4.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.469, allocations: 32.8 kB / 1.321 GB, free: 4.594 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.4694, allocations: 202.2 kB / 1.321 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.4694, allocations: 20.36 kB / 1.321 GB, free: 4.352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.238e-05/0.4695, allocations: 28.38 kB / 1.321 GB, free: 4.324 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.4699, allocations: 161.8 kB / 1.321 GB, free: 4.156 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4699, allocations: 192 / 1.321 GB, free: 4.156 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.4699, allocations: 11.94 kB / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4699, allocations: 0 / 1.321 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4701, allocations: 87.83 kB / 1.321 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4712, allocations: 0.6749 MB / 1.322 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4714, allocations: 90.53 kB / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.4715, allocations: 40.84 kB / 1.322 GB, free: 3.195 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.4715, allocations: 192 / 1.322 GB, free: 3.195 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.4718, allocations: 161.2 kB / 1.322 GB, free: 3.027 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.4718, allocations: 4 kB / 1.322 GB, free: 3.023 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0005989/0.4724, allocations: 247.1 kB / 1.323 GB, free: 2.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.4725, allocations: 55.41 kB / 1.323 GB, free: 2.711 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4727, allocations: 182.1 kB / 1.323 GB, free: 2.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.4728, allocations: 37.8 kB / 1.323 GB, free: 2.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.473, allocations: 132.6 kB / 1.323 GB, free: 2.348 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.473, allocations: 43.7 kB / 1.323 GB, free: 2.305 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.4732, allocations: 113.6 kB / 1.323 GB, free: 2.188 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4734, allocations: 330.8 kB / 1.324 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.4738, allocations: 155.9 kB / 1.324 GB, free: 1.703 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.4742, allocations: 238.1 kB / 1.324 GB, free: 1.434 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.4748, allocations: 413.4 kB / 1.324 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4748, allocations: 0 / 1.324 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001143/0.4759, allocations: 0.6269 MB / 1.325 GB, free: 308 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.4761, allocations: 164.5 kB / 1.325 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.4761, allocations: 11.92 kB / 1.325 GB, free: 100 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.4761, allocations: 4 kB / 1.325 GB, free: 96 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.006e-05/0.4762, allocations: 11.94 kB / 1.325 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4762, allocations: 4 kB / 1.325 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.477, allocations: 139.7 kB / 1.325 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.477, allocations: 35.97 kB / 1.325 GB, free: 15.91 MB / 1.029 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.0002118/0.4773, allocations: 152 kB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4773, allocations: 15.91 kB / 1.325 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.4774, allocations: 29.73 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4774, allocations: 4 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4774, allocations: 4.062 kB / 1.325 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4774, allocations: 0 / 1.325 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000687/0.4781, allocations: 497 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4781, allocations: 0 / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.4781, allocations: 7.984 kB / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4781, allocations: 0 / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4781, allocations: 8 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4781, allocations: 4 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4781, allocations: 3.984 kB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.4785, allocations: 288.8 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.4785, allocations: 15.86 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4785, allocations: 4 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.4786, allocations: 7.984 kB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.4787, allocations: 19.97 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4787, allocations: 12 kB / 1.326 GB, free: 14.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001189/0.4788, allocations: 124.2 kB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4788, allocations: 0 / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003814/0.4792, allocations: 83.92 kB / 1.326 GB, free: 14.57 MB / 1.029 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.0002141/0.4794, allocations: 111.9 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008595/0.4803, allocations: 0.5521 MB / 1.327 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4803, allocations: 4.062 kB / 1.327 GB, free: 13.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.4804, allocations: 65.45 kB / 1.327 GB, free: 13.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.4809, allocations: 47.83 kB / 1.327 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.4817, allocations: 327.5 kB / 1.328 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.4821, allocations: 0.7281 MB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.4822, allocations: 21.47 kB / 1.328 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.4822, allocations: 19.44 kB / 1.328 GB, free: 12.6 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4822, allocations: 0 / 1.328 GB, free: 12.6 MB / 1.029 GB Notification: Performance of Templates: time 0.01037/0.4926, allocations: 4.646 MB / 1.333 GB, free: 8.004 MB / 1.029 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/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.81253286357969]