Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 102.7 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.2 MB / 0.665 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6279, allocations: 140.4 MB / 0.9498 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00221/0.6302, allocations: 0.7673 MB / 0.9505 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.6318, allocations: 1.252 MB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.6319, allocations: 0 / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.632, allocations: 5 kB / 0.9518 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.6321, allocations: 17 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.6328, allocations: 288.6 kB / 0.9521 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.6331, allocations: 278 kB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6332, allocations: 16.42 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.6333, allocations: 99.61 kB / 0.9524 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.6335, allocations: 75.27 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.6335, allocations: 23.03 kB / 0.9525 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.6336, allocations: 36.45 kB / 0.9526 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.6336, allocations: 24.8 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.6338, allocations: 82.95 kB / 0.9527 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.6339, allocations: 154 kB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6339, allocations: 0 / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.634, allocations: 0 / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.634, allocations: 0 / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005231/0.6345, allocations: 499.9 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6345, allocations: 9 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.6346, allocations: 11.69 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.6347, allocations: 177.4 kB / 0.9535 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6347, allocations: 17.77 kB / 0.9535 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.6348, allocations: 17.78 kB / 0.9535 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.6349, allocations: 59.17 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6349, allocations: 5.344 kB / 0.9536 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6349, allocations: 0 / 0.9536 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6349, allocations: 1.062 kB / 0.9536 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.635, allocations: 22.83 kB / 0.9536 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.6355, allocations: 419.1 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.6355, allocations: 30.55 kB / 0.954 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.6356, allocations: 21.62 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.6356, allocations: 1.156 kB / 0.954 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.6358, allocations: 105.2 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6358, allocations: 4 kB / 0.9541 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002881/0.6361, allocations: 140.8 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6361, allocations: 54.22 kB / 0.9543 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.6362, allocations: 138.2 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.6363, allocations: 31.33 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.6363, allocations: 99.89 kB / 0.9546 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6364, allocations: 18.73 kB / 0.9546 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.6365, allocations: 66.36 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.6366, allocations: 329 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.6367, allocations: 86.55 kB / 0.9551 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.6369, allocations: 135.9 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.6372, allocations: 232.8 kB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6372, allocations: 1.25 kB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000552/0.6377, allocations: 371.6 kB / 0.9558 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.6378, allocations: 100.9 kB / 0.9559 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.6378, allocations: 6.406 kB / 0.9559 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6378, allocations: 6.734 kB / 0.9559 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.672e-05/0.6379, allocations: 6.891 kB / 0.9559 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6379, allocations: 1.406 kB / 0.9559 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.6384, allocations: 83.25 kB / 0.956 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.6385, allocations: 22.42 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001035/0.6386, allocations: 137 kB / 0.9561 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.6386, allocations: 8.812 kB / 0.9561 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.6386, allocations: 9.375 kB / 0.9561 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6386, allocations: 5.094 kB / 0.9561 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6386, allocations: 1.156 kB / 0.9561 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6386, allocations: 3.938 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.6388, allocations: 190 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6388, allocations: 4 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.6388, allocations: 2.344 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6388, allocations: 1.219 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.6388, allocations: 5.25 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6388, allocations: 0 / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6388, allocations: 5.156 kB / 0.9563 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.639, allocations: 138.5 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.639, allocations: 83.3 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.6391, allocations: 5.125 kB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.6391, allocations: 9.641 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6391, allocations: 8.25 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.6391, allocations: 7.484 kB / 0.9566 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.6392, allocations: 101.2 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6392, allocations: 0 / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002668/0.6395, allocations: 43.88 kB / 0.9567 GB, free: 3.219 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00016/0.6396, allocations: 110.7 kB / 0.9568 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.6401, allocations: 376.2 kB / 0.9572 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6401, allocations: 1.5 kB / 0.9572 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.6402, allocations: 36.14 kB / 0.9572 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.6405, allocations: 23.52 kB / 0.9572 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.6409, allocations: 239.7 kB / 0.9575 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.641, allocations: 0.6942 MB / 0.9582 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.641, allocations: 12.34 kB / 0.9582 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.641, allocations: 0 / 0.9582 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.003971/0.645, allocations: 1.883 MB / 0.96 GB, free: 0.8867 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches