Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_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.001556/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00203/0.00203, allocations: 192.7 kB / 16.13 MB, free: 6.691 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.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8448, allocations: 140.3 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001976/0.8468, allocations: 0.6788 MB / 0.9497 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8481, allocations: 1.114 MB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.8481, allocations: 0 / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.8482, allocations: 3.938 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.607e-05/0.8483, allocations: 5.359 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.8487, allocations: 116 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.8488, allocations: 71.64 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.8489, allocations: 6.75 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.849, allocations: 32.41 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.8491, allocations: 26.84 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.8491, allocations: 4.125 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.8492, allocations: 18.92 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.8492, allocations: 9.312 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.8493, allocations: 30.89 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.8494, allocations: 65.75 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8494, allocations: 5.359 kB / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8494, allocations: 0 / 0.9512 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.8494, allocations: 0 / 0.9512 GB, free: 7.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004593/0.8499, allocations: 382.6 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.85, allocations: 9.625 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.85, allocations: 34.73 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.8501, allocations: 5.062 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.8502, allocations: 173.6 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8502, allocations: 3.125 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.8502, allocations: 9.344 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.8503, allocations: 35.25 kB / 0.9518 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8504, allocations: 3.938 kB / 0.9518 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.8504, allocations: 5.656 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8504, allocations: 4 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.8504, allocations: 11.89 kB / 0.9518 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.8509, allocations: 287.5 kB / 0.9521 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.8509, allocations: 21.59 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.851, allocations: 11.45 kB / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.851, allocations: 3.938 kB / 0.9521 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.8511, allocations: 62.77 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.8511, allocations: 0 / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002043/0.8513, allocations: 58.34 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.8514, allocations: 52.84 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.8515, allocations: 112.8 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.8515, allocations: 34.73 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.8516, allocations: 83.08 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.8516, allocations: 8.969 kB / 0.9525 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.8516, allocations: 29.92 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.8517, allocations: 323.8 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.8518, allocations: 27.8 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.8519, allocations: 47.72 kB / 0.9529 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.852, allocations: 84.05 kB / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.852, allocations: 0 / 0.953 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002318/0.8522, allocations: 142.2 kB / 0.9532 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.8523, allocations: 36.69 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.8523, allocations: 1.406 kB / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8523, allocations: 0 / 0.9532 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.8523, allocations: 5.312 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8523, allocations: 1.062 kB / 0.9532 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.8525, allocations: 32.03 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.8526, allocations: 4.938 kB / 0.9532 GB, free: 5.348 MB / 0.7169 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 7.532e-05/0.8527, allocations: 118.8 kB / 0.9534 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.8527, allocations: 5.422 kB / 0.9534 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.8527, allocations: 12.8 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.8527, allocations: 1.219 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8527, allocations: 0 / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8527, allocations: 0 / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.8528, allocations: 159.2 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8528, allocations: 9.047 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.8529, allocations: 0 / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.8529, allocations: 1.375 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8529, allocations: 0 / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8529, allocations: 1.5 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8529, allocations: 3.938 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.459e-05/0.853, allocations: 78.88 kB / 0.9536 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.853, allocations: 78.33 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.853, allocations: 13.3 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/0.853, allocations: 0 / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.8531, allocations: 1.406 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.8531, allocations: 1.281 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.8531, allocations: 83.91 kB / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8531, allocations: 0 / 0.9538 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002073/0.8533, allocations: 18.33 kB / 0.9538 GB, free: 4.73 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: 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.000314/0.8537, allocations: 0.6361 MB / 0.9544 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.8539, allocations: 115.4 kB / 0.9545 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8539, allocations: 0 / 0.9545 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.8539, allocations: 16.03 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.8541, allocations: 4.594 kB / 0.9546 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.8553, allocations: 1.367 MB / 0.9559 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.8554, allocations: 0.675 MB / 0.9565 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.8554, allocations: 5.297 kB / 0.9566 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.8554, allocations: 14.31 kB / 0.9566 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8555, allocations: 0 / 0.9566 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.8698, allocations: 1.747 MB / 0.9583 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.87, allocations: 200.1 kB / 0.9585 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.673, allocations: 0.625 kB / 0.9585 GB, free: 0.8281 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches