Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 12.0.0-master/package.mo", uses=false) 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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002346/0.002347, allocations: 195.7 kB / 16.26 MB, free: 6.629 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 61.58 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4395, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002598/0.4421, allocations: 0.6787 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.4443, allocations: 1.1 MB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.4444, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.4445, allocations: 7.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.4446, allocations: 7.984 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.4452, allocations: 107.2 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.4454, allocations: 99.83 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.4456, allocations: 3.984 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.4457, allocations: 31.97 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4458, allocations: 27.91 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.4458, allocations: 8 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.435e-05/0.4459, allocations: 23.98 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.4459, allocations: 3.938 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.446, allocations: 31.91 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.4462, allocations: 79.8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4462, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4463, allocations: 4 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.4463, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007583/0.447, allocations: 377.4 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.756e-05/0.4471, allocations: 8.031 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.4472, allocations: 8.938 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.4474, allocations: 172.4 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.4475, allocations: 384 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.4475, allocations: 8.375 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4476, allocations: 38.25 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4477, allocations: 8.172 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4477, allocations: 3.938 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4477, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.4478, allocations: 19.88 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006054/0.4484, allocations: 288.8 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.4485, allocations: 26.52 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.4485, allocations: 8.859 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.4485, allocations: 4.062 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.4487, allocations: 59.33 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4487, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002277/0.449, allocations: 61.69 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.449, allocations: 51.41 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4491, allocations: 101.8 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4492, allocations: 33.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.4493, allocations: 95.98 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.4493, allocations: 3.984 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.4494, allocations: 33.7 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4496, allocations: 314.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.4496, allocations: 31.92 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.4497, allocations: 46.56 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.4498, allocations: 84.2 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4499, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003528/0.4502, allocations: 147.2 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.4503, allocations: 37.69 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4503, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4503, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.168e-05/0.4503, allocations: 7.938 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4503, allocations: 4.094 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.4506, allocations: 31.89 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4506, allocations: 8 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001335/0.4508, allocations: 113.8 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.4508, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.4508, allocations: 7.5 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4509, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4509, allocations: 4.312 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4509, allocations: 3.984 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.451, allocations: 161.6 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.451, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.4511, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4511, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4511, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4511, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4511, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.4512, allocations: 101 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.4513, allocations: 77.11 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4513, allocations: 4 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.4513, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.4514, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4514, allocations: 3.984 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.4514, allocations: 83.28 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4514, allocations: 3.938 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002103/0.4517, allocations: 16 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002256/0.4519, allocations: 109.2 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4522, allocations: 123.3 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4522, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.4522, allocations: 12 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.4524, allocations: 13.47 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.4528, allocations: 126.2 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4532, allocations: 0.6807 MB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.405e-05/0.4532, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.4533, allocations: 15.38 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4533, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.004472/0.4578, allocations: 1.033 MB / 1.075 GB, free: 3.375 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches