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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004715/0.004715, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00173/0.001731, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 67.89 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002148/0.335, allocations: 0.6076 MB / 1.208 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3366, allocations: 1.112 MB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3367, allocations: 4 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.3368, allocations: 0 / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.3369, allocations: 7.938 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.3375, allocations: 119 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3376, allocations: 87.88 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.3377, allocations: 15.98 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.3378, allocations: 31.92 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.3379, allocations: 35.88 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.338, allocations: 8 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.3381, allocations: 23.98 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3381, allocations: 0 / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.3382, allocations: 31.92 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3383, allocations: 83.72 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3383, allocations: 4 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3384, allocations: 3.938 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3384, allocations: 4 kB / 1.209 GB, free: 7.918 MB / 0.9669 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.0007035/0.3391, allocations: 373.2 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.3391, allocations: 12.62 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.3392, allocations: 30.75 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.3392, allocations: 8.922 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3394, allocations: 164.4 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3394, allocations: 4.375 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3394, allocations: 8.375 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3396, allocations: 42.25 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3396, allocations: 3.938 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3396, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3396, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.3396, allocations: 11.94 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3402, allocations: 296.7 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.3403, allocations: 14.58 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.3403, allocations: 12.92 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.3403, allocations: 4 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.3405, allocations: 63.31 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.3405, allocations: 0 / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002042/0.3407, allocations: 57.69 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3408, allocations: 55.39 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.3409, allocations: 105.9 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3409, allocations: 25.7 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.341, allocations: 96.03 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.341, allocations: 0 / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.341, allocations: 29.7 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3412, allocations: 326.7 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.3413, allocations: 27.92 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.3413, allocations: 54.55 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3415, allocations: 76.52 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3415, allocations: 0 / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002424/0.3417, allocations: 151.2 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.3418, allocations: 33.7 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3418, allocations: 4 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3418, allocations: 3.938 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.809e-05/0.3418, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3418, allocations: 96 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.342, allocations: 35.91 kB / 1.211 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3421, allocations: 11.98 kB / 1.211 GB, free: 5.543 MB / 0.9669 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 9.888e-05/0.3422, allocations: 113.8 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.3422, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3422, allocations: 11.44 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3422, allocations: 4 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3422, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3422, allocations: 7.984 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.3424, allocations: 157.9 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.3424, allocations: 8 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3424, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3424, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3425, allocations: 92.89 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.3426, allocations: 81.11 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3426, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.3426, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.3427, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3427, allocations: 7.984 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.917e-05/0.3427, allocations: 83.28 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3427, allocations: 0 / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002117/0.343, allocations: 12 kB / 1.212 GB, free: 4.879 MB / 0.9669 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.0004266/0.3434, allocations: 0.6323 MB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3436, allocations: 115.4 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3436, allocations: 0 / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.3437, allocations: 11.94 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.344, allocations: 12.17 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3454, allocations: 1.361 MB / 1.214 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3456, allocations: 0.6807 MB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3456, allocations: 0 / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.3457, allocations: 19.42 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3457, allocations: 0 / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.367, allocations: 1.957 MB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.787, allocations: 7.234 kB / 1.217 GB, free: 20 kB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > 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/jenkins1/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