Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 105.5 kB / 16.41 MB, free: 6.496 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.002099/0.0021, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8281, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001863/0.83, allocations: 0.6628 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.8315, allocations: 1.193 MB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.8316, allocations: 0.8125 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.8316, allocations: 4.688 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.8317, allocations: 10.94 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.8324, allocations: 217.9 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.8326, allocations: 177.6 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.8328, allocations: 16.17 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.8329, allocations: 65.8 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.833, allocations: 66.09 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.8331, allocations: 15.09 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.8332, allocations: 25.05 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.8332, allocations: 12.91 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.471e-05/0.8333, allocations: 60.89 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.8336, allocations: 144.3 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8336, allocations: 3.938 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8336, allocations: 4 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8336, allocations: 1.031 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004981/0.8341, allocations: 429.5 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8341, allocations: 9.203 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.8342, allocations: 13.08 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.8343, allocations: 167.9 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.8343, allocations: 9.406 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.8344, allocations: 10.03 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8345, allocations: 45.27 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.8345, allocations: 4.75 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8345, allocations: 8.594 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8345, allocations: 1.266 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.8346, allocations: 21.72 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.8351, allocations: 354.7 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.619e-05/0.8352, allocations: 38.55 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.8352, allocations: 12.3 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.8352, allocations: 8.625 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.8354, allocations: 80.91 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.8354, allocations: 0.7812 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000282/0.8357, allocations: 103.2 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.8357, allocations: 54.36 kB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.8358, allocations: 116.5 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.8359, allocations: 34.02 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.8359, allocations: 98.16 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.836, allocations: 15.27 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.8361, allocations: 48.53 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.8361, allocations: 319.5 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.8363, allocations: 59.52 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.8364, allocations: 104.3 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.8366, allocations: 154.3 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.8366, allocations: 1.531 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004247/0.837, allocations: 260.9 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.8371, allocations: 73.33 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8371, allocations: 5.906 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8371, allocations: 1.312 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.61e-05/0.8372, allocations: 10.94 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8372, allocations: 2.281 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.8376, allocations: 55.67 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.8376, allocations: 12.17 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.84e-05/0.8377, allocations: 129 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.8377, allocations: 3.828 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.8377, allocations: 9.672 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8377, allocations: 2.375 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8378, allocations: 0 / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8378, allocations: 1.516 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.8379, allocations: 177.6 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8379, allocations: 1.188 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.8379, allocations: 10.08 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8379, allocations: 0.7812 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8379, allocations: 1.812 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.8379, allocations: 5.609 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8379, allocations: 5.125 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.8381, allocations: 114.6 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.8381, allocations: 87.73 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.8381, allocations: 1.984 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.8382, allocations: 5.531 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.8382, allocations: 4.984 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.8382, allocations: 3.703 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.856e-05/0.8383, allocations: 90.08 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8383, allocations: 0 / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002494/0.8385, allocations: 31.39 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001447/0.8387, allocations: 105.3 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.839, allocations: 252.6 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.839, allocations: 0.625 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.8391, allocations: 27.83 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.8393, allocations: 19.91 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.8397, allocations: 187.5 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.8399, allocations: 0.6897 MB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.8399, allocations: 12.25 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.8399, allocations: 0 / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.004244/0.8442, allocations: 1.383 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches