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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_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_9_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.001656/0.001656, 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.002723/0.002723, allocations: 193 kB / 16.25 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.5 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.517/2.517, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8157, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001854/0.8176, allocations: 0.692 MB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.8189, allocations: 1.099 MB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.8189, allocations: 1.25 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.819, allocations: 7.922 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.461e-05/0.8191, allocations: 1.312 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.8195, allocations: 112.2 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.8197, allocations: 85.42 kB / 0.9511 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.8198, allocations: 11.52 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.8198, allocations: 40.31 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.8199, allocations: 22.94 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.82, allocations: 8.469 kB / 0.9511 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.171e-05/0.82, allocations: 29.3 kB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.8201, allocations: 5.438 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.8201, allocations: 29.81 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.8202, allocations: 79.91 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8203, allocations: 0 / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8203, allocations: 0 / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8203, allocations: 0 / 0.9513 GB, free: 7.418 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.0004057/0.8207, allocations: 377.6 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8207, allocations: 10.47 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.8208, allocations: 4.969 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.076e-05/0.8209, allocations: 170.1 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8209, allocations: 9.609 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.8209, allocations: 5.625 kB / 0.9518 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.821, allocations: 39.12 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.821, allocations: 4.125 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.821, allocations: 4.969 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.8211, allocations: 4 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.8211, allocations: 9.156 kB / 0.9519 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.8214, allocations: 282.4 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.8215, allocations: 30.84 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.8215, allocations: 6.297 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.8215, allocations: 1.25 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.8216, allocations: 65.11 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.8216, allocations: 0 / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.8218, allocations: 59.47 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.8219, allocations: 52.53 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.8219, allocations: 108.1 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.822, allocations: 27.86 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.822, allocations: 87.48 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.026e-06/0.822, allocations: 13.12 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.8221, allocations: 29.45 kB / 0.9526 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.8221, allocations: 316.1 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.8222, allocations: 29.95 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.8223, allocations: 43.53 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.8224, allocations: 88.2 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8224, allocations: 1.75 kB / 0.9531 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002112/0.8226, allocations: 141 kB / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.8226, allocations: 41.16 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8226, allocations: 1.562 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8227, allocations: 0 / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/0.8227, allocations: 1.297 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8227, allocations: 1.344 kB / 0.9532 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.8229, allocations: 28.72 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.8229, allocations: 12.3 kB / 0.9533 GB, free: 5.352 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 6.889e-05/0.823, allocations: 119.4 kB / 0.9534 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.823, allocations: 12.86 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.8231, allocations: 4.594 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8231, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8231, allocations: 1.125 kB / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8231, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.857e-05/0.8232, allocations: 167.1 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8232, allocations: 5.125 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.8232, allocations: 5.094 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.8232, allocations: 0 / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.8232, allocations: 5.031 kB / 0.9536 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8232, allocations: 0 / 0.9536 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8232, allocations: 1.188 kB / 0.9536 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.073e-05/0.8233, allocations: 82.25 kB / 0.9537 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.8233, allocations: 82.41 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.8233, allocations: 4 kB / 0.9537 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.8234, allocations: 1.219 kB / 0.9537 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.8234, allocations: 1.125 kB / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.8234, allocations: 1.312 kB / 0.9538 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.279e-05/0.8234, allocations: 87.3 kB / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8234, allocations: 0 / 0.9538 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.8236, allocations: 14.91 kB / 0.9538 GB, free: 4.727 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.0001293/0.8238, allocations: 97.91 kB / 0.9539 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.824, allocations: 127.8 kB / 0.9541 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.824, allocations: 0 / 0.9541 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.824, allocations: 11.98 kB / 0.9541 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.8242, allocations: 12.53 kB / 0.9541 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.8245, allocations: 131.9 kB / 0.9542 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.8246, allocations: 0.6871 MB / 0.9549 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.8246, allocations: 5.484 kB / 0.9549 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.8246, allocations: 8.531 kB / 0.9549 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8246, allocations: 1.5 kB / 0.9549 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of Templates: time 0.003157/0.8278, allocations: 1.033 MB / 0.9559 GB, free: 3.141 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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