Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_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_latest_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.001317/0.001317, allocations: 108 kB / 15.6 MB, free: 132 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.001823/0.001823, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.548/1.548, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 69.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4052, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00242/0.4076, allocations: 0.6492 MB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4094, allocations: 1.196 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.4095, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.4095, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/0.4096, allocations: 11.86 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.4103, allocations: 207.1 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.4106, allocations: 187.6 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4107, allocations: 15.98 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.4108, allocations: 67.88 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4109, allocations: 51.88 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.4109, allocations: 12 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.411, allocations: 27.98 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.4111, allocations: 11.94 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.354e-05/0.4112, allocations: 59.81 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.4114, allocations: 151.6 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4114, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4114, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.4115, allocations: 4 kB / 1.071 GB, free: 7.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006163/0.4121, allocations: 443 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4121, allocations: 11.97 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.4122, allocations: 12.84 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4123, allocations: 160.4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4123, allocations: 12.38 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4124, allocations: 12.36 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4125, allocations: 42.25 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4125, allocations: 192 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4125, allocations: 11.94 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4125, allocations: 4 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.4126, allocations: 15.98 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.4131, allocations: 352.6 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.4132, allocations: 38.52 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.4133, allocations: 16.94 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4133, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.4134, allocations: 75.31 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4134, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002761/0.4137, allocations: 109.6 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.4138, allocations: 51.41 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4139, allocations: 121.8 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.4139, allocations: 29.7 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.414, allocations: 96.05 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.414, allocations: 7.906 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.4141, allocations: 50.06 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4143, allocations: 322.8 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4144, allocations: 59.91 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4146, allocations: 103.6 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.4148, allocations: 155.6 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4148, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004418/0.4152, allocations: 272.7 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.4153, allocations: 73.23 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4153, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4154, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.309e-05/0.4154, allocations: 3.984 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4154, allocations: 7.938 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.4158, allocations: 51.84 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.4158, allocations: 11.98 kB / 1.073 GB, free: 4.758 MB / 0.8262 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 0.0001233/0.4159, allocations: 134.2 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.416, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.416, allocations: 4.375 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.416, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.416, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.416, allocations: 7.984 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.4162, allocations: 181.5 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4162, allocations: 0 / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-06/0.4162, allocations: 4 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4162, allocations: 4 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4162, allocations: 3.984 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4162, allocations: 96 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4162, allocations: 7.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.4164, allocations: 113 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.4164, allocations: 85.02 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.4165, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.4165, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.4165, allocations: 11.98 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4165, allocations: 8 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.4166, allocations: 91.27 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4166, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000235/0.4168, allocations: 24 kB / 1.074 GB, free: 3.992 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: 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.000165/0.417, allocations: 103.2 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.4174, allocations: 254.5 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4174, allocations: 4.25 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.4174, allocations: 27.98 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4177, allocations: 21.81 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.418, allocations: 154.7 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4183, allocations: 0.6885 MB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.4183, allocations: 11.77 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.4184, allocations: 15.44 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4184, allocations: 0 / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of Templates: time 0.004349/0.4227, allocations: 1.842 MB / 1.077 GB, free: 0.8164 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches