Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001175/0.001175, allocations: 92.55 kB / 16.02 MB, free: 80 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.001506/0.001506, allocations: 176.2 kB / 16.92 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.000412, allocations: 12 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008473/0.729, allocations: 357.2 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.7306, allocations: 1.109 MB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.7307, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7307, allocations: 3.984 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.7308, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.7313, allocations: 107.3 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7315, allocations: 83.81 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.7316, allocations: 8 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.7317, allocations: 35.84 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.7317, allocations: 23.91 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.7318, allocations: 4 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.7319, allocations: 15.98 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.7319, allocations: 3.984 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.214e-05/0.732, allocations: 53.62 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.7321, allocations: 55.86 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7321, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7321, allocations: 4 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7321, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.7794 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.0004473/0.7326, allocations: 359.2 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.7326, allocations: 8.031 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.7327, allocations: 4.938 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.7328, allocations: 176.2 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.7328, allocations: 384 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.7329, allocations: 8.375 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.733, allocations: 42.19 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.733, allocations: 4.188 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.733, allocations: 3.938 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.733, allocations: 0 / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.7331, allocations: 8 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.7335, allocations: 284.9 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.7335, allocations: 26.52 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.7336, allocations: 12.8 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.7336, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.7337, allocations: 59.45 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7337, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.7339, allocations: 57.69 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.734, allocations: 59.34 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.7341, allocations: 109.7 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.7341, allocations: 29.7 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.7342, allocations: 92.14 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.7342, allocations: 3.906 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.7342, allocations: 21.7 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7343, allocations: 310.8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.7344, allocations: 27.98 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.7345, allocations: 50.55 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7346, allocations: 84.16 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7347, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.7349, allocations: 147.3 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.735, allocations: 41.64 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.735, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.735, allocations: 240 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.012e-05/0.735, allocations: 4 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.735, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.7353, allocations: 40.05 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.7353, allocations: 4 kB / 1.028 GB, free: 11.68 MB / 0.7794 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.653e-05/0.7354, allocations: 122.3 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.7354, allocations: 7.891 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.7355, allocations: 7.5 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7355, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7355, allocations: 3.984 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7355, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.7356, allocations: 157.6 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.7356, allocations: 320 / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.7356, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7356, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.7357, allocations: 7.938 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7357, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7357, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.7358, allocations: 85.05 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.7358, allocations: 81.11 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.7359, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.7359, allocations: 3.938 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.7359, allocations: 3.984 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.7359, allocations: 8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.736, allocations: 79.28 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.736, allocations: 4 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002154/0.7362, allocations: 16 kB / 1.028 GB, free: 10.99 MB / 0.7794 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.0001606/0.7364, allocations: 111.2 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.7366, allocations: 119.3 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7366, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.7366, allocations: 12 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.7368, allocations: 12.11 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.7371, allocations: 164.2 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.7374, allocations: 0.677 MB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.7374, allocations: 11.44 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7374, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.002398/0.7398, allocations: 0.8609 MB / 1.03 GB, free: 8.965 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches