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.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: "" <> 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.001306/0.001306, 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.001256/0.001256, allocations: 199.2 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.375/2.375, allocations: 390.2 MB / 0.6647 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 71.89 kB / 0.8127 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6606, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001912/0.6625, allocations: 0.6102 MB / 0.9503 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6637, allocations: 1.104 MB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.6638, allocations: 1.031 kB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.6638, allocations: 0 / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.6639, allocations: 17.41 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.6643, allocations: 122.8 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.6644, allocations: 84.27 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.6645, allocations: 7.75 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.6646, allocations: 39.91 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.624e-05/0.6647, allocations: 18.59 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.6647, allocations: 8.844 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.6648, allocations: 21.11 kB / 0.9517 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.6648, allocations: 14.3 kB / 0.9517 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.6649, allocations: 29.56 kB / 0.9518 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.665, allocations: 74.77 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.665, allocations: 4 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.665, allocations: 1.219 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.665, allocations: 4 kB / 0.9518 GB, free: 7.5 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.0004365/0.6655, allocations: 374.4 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6655, allocations: 8.938 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.6656, allocations: 32.31 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.6656, allocations: 3.781 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6657, allocations: 181.7 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6657, allocations: 10.95 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.6658, allocations: 10.17 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.6659, allocations: 42.3 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6659, allocations: 5.594 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6659, allocations: 3.984 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6659, allocations: 0 / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.666, allocations: 8.469 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.6663, allocations: 286.8 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.6664, allocations: 26.19 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.6664, allocations: 11.83 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.6664, allocations: 0 / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.6666, allocations: 62.3 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6666, allocations: 0 / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001913/0.6668, allocations: 58.19 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.6668, allocations: 52.97 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.6669, allocations: 112.1 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.6669, allocations: 32.39 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.667, allocations: 82.8 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.667, allocations: 9.25 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.667, allocations: 28.95 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.6671, allocations: 320.1 kB / 0.9535 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.6672, allocations: 31.67 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.6672, allocations: 46.91 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.703e-05/0.6673, allocations: 84.36 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6673, allocations: 0 / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002141/0.6676, allocations: 138 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.6676, allocations: 41.84 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6676, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.6676, allocations: 5.719 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.585e-05/0.6676, allocations: 1.125 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6677, allocations: 5.438 kB / 0.9539 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.6679, allocations: 22.97 kB / 0.9539 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.6679, allocations: 5.094 kB / 0.9539 GB, free: 5.387 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.658e-05/0.668, allocations: 122.5 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.668, allocations: 9.594 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.668, allocations: 5.219 kB / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.668, allocations: 240 / 0.954 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.668, allocations: 4 kB / 0.954 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.668, allocations: 5.641 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.02e-05/0.6681, allocations: 163.2 kB / 0.9542 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6681, allocations: 4 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.6682, allocations: 1.344 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.6682, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6682, allocations: 1.344 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6682, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6682, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.945e-05/0.6683, allocations: 86.41 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.6683, allocations: 82.44 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.6683, allocations: 5.281 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.6683, allocations: 0 / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.6683, allocations: 1.531 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.6684, allocations: 1.438 kB / 0.9544 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.125e-05/0.6684, allocations: 83.36 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6684, allocations: 0 / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000199/0.6686, allocations: 19 kB / 0.9545 GB, free: 4.762 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.0002721/0.6689, allocations: 0.6312 MB / 0.9551 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.6691, allocations: 118.8 kB / 0.9552 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6691, allocations: 0 / 0.9552 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.834e-05/0.6691, allocations: 15.7 kB / 0.9552 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.6693, allocations: 21.19 kB / 0.9552 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.6703, allocations: 1.345 MB / 0.9565 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.6704, allocations: 0.6835 MB / 0.9572 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.6705, allocations: 5.375 kB / 0.9572 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.6705, allocations: 12.66 kB / 0.9572 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6705, allocations: 1.125 kB / 0.9572 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.6882, allocations: 1.889 MB / 0.9591 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.603, allocations: 14.44 kB / 0.9591 GB, free: 0.9648 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