Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9359/0.9373, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002675/0.9401, allocations: 0.8328 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.9424, allocations: 1.487 MB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.9425, allocations: 0 / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.9426, allocations: 23.8 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.9427, allocations: 27.72 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.9439, allocations: 0.5146 MB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.9445, allocations: 0.4952 MB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.9446, allocations: 37.47 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.9448, allocations: 191.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.945, allocations: 139.6 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.9451, allocations: 43.94 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.9453, allocations: 51.98 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.9453, allocations: 39.91 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.9455, allocations: 167.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.946, allocations: 405 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.946, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.934e-06/0.946, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.946, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.7794 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.000816/0.9468, allocations: 0.6592 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.9469, allocations: 8.031 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.947, allocations: 32.66 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.9473, allocations: 256 kB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.9474, allocations: 16.38 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.9474, allocations: 32.36 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.9477, allocations: 154 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9477, allocations: 4.188 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.9477, allocations: 15.94 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.9478, allocations: 4 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.9479, allocations: 79.95 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.9488, allocations: 0.707 MB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.949, allocations: 167.7 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/0.9491, allocations: 48.83 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.9491, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.9494, allocations: 156.7 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.9494, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.000458/0.9499, allocations: 247 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.9499, allocations: 55.41 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.9501, allocations: 183.7 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.9502, allocations: 41.7 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9503, allocations: 124.6 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.9503, allocations: 51.44 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.9505, allocations: 109.6 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9506, allocations: 330.8 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.951, allocations: 163.8 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.9513, allocations: 234.2 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004575/0.9518, allocations: 408.8 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9518, allocations: 0 / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009482/0.9527, allocations: 0.6186 MB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.9529, allocations: 164.5 kB / 1.027 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.9529, allocations: 7.938 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.9529, allocations: 4 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.37e-05/0.953, allocations: 15.86 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.953, allocations: 4 kB / 1.027 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/0.9539, allocations: 143.9 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.9539, allocations: 35.97 kB / 1.027 GB, free: 8.582 MB / 0.7794 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.0001856/0.9541, allocations: 155.1 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.9542, allocations: 15.81 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.9542, allocations: 21.81 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9542, allocations: 0 / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9542, allocations: 0 / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9542, allocations: 7.984 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.9549, allocations: 0.5074 MB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9549, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.9549, allocations: 8 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.9549, allocations: 4 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.9549, allocations: 8.047 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.9549, allocations: 4 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9549, allocations: 0 / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.9552, allocations: 285.5 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.9553, allocations: 96.89 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.9553, allocations: 4 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.9554, allocations: 8 kB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.9555, allocations: 23.91 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.9555, allocations: 8 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.9556, allocations: 119.2 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9556, allocations: 0 / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003722/0.956, allocations: 83.83 kB / 1.028 GB, free: 7.148 MB / 0.7794 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.0001765/0.9562, allocations: 112.4 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.957, allocations: 0.6373 MB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.957, allocations: 0 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.9571, allocations: 75.91 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.9575, allocations: 52.58 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.9581, allocations: 316.4 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.9584, allocations: 0.728 MB / 1.03 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.016e-05/0.9584, allocations: 21.55 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.9585, allocations: 27.44 kB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9585, allocations: 3.938 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of Templates: time 0.008182/0.9667, allocations: 4.559 MB / 1.034 GB, free: 0.5469 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches