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: 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.0008006/0.0008006, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.000932/0.0009321, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.434 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.583/2.583, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8224/0.8227, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00078/0.8236, allocations: 339.2 kB / 0.9548 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.8248, allocations: 1.086 MB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.8248, allocations: 1.219 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.8249, allocations: 3.984 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.8249, allocations: 5.125 kB / 0.9558 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.8253, allocations: 107.4 kB / 0.956 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.8254, allocations: 71.53 kB / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.8255, allocations: 2.75 kB / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.8256, allocations: 31.38 kB / 0.9561 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.8257, allocations: 18.84 kB / 0.9561 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.8257, allocations: 4.125 kB / 0.9561 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.8258, allocations: 19.45 kB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.8258, allocations: 9.359 kB / 0.9561 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.8259, allocations: 38.45 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.826, allocations: 54.06 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.826, allocations: 0 / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.826, allocations: 1.375 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.826, allocations: 0 / 0.9562 GB, free: 6.387 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.0003909/0.8264, allocations: 357.3 kB / 0.9565 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8265, allocations: 13.94 kB / 0.9565 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.8265, allocations: 7.766 kB / 0.9566 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.8266, allocations: 167.8 kB / 0.9567 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.8267, allocations: 6.406 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.8267, allocations: 9.688 kB / 0.9567 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8268, allocations: 33.97 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.8268, allocations: 0 / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8268, allocations: 13.22 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8269, allocations: 0 / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.851e-05/0.8269, allocations: 9.547 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.8273, allocations: 290.3 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.8273, allocations: 22.7 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.8273, allocations: 10.08 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.8273, allocations: 9.203 kB / 0.9571 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.8275, allocations: 57.52 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.8275, allocations: 3.938 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002101/0.8277, allocations: 58.33 kB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8278, allocations: 60.66 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.8278, allocations: 104.4 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.8279, allocations: 31.7 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.8279, allocations: 91.66 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.8279, allocations: 5.062 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.8279, allocations: 1 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.828, allocations: 316.7 kB / 0.9578 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.8281, allocations: 26.98 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.8281, allocations: 51.19 kB / 0.9579 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.8282, allocations: 57.62 kB / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8282, allocations: 0 / 0.9579 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002218/0.8285, allocations: 141.2 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.8285, allocations: 41.53 kB / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8285, allocations: 0 / 0.9581 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8285, allocations: 5.234 kB / 0.9581 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.586e-05/0.8286, allocations: 5.25 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8286, allocations: 1.062 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.8288, allocations: 37.84 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.8288, allocations: 5.156 kB / 0.9582 GB, free: 4.375 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.8289, allocations: 126.5 kB / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.8289, allocations: 1.344 kB / 0.9583 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.829, allocations: 4.906 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.829, allocations: 3.953 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.829, allocations: 0 / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.829, allocations: 1.062 kB / 0.9583 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.8291, allocations: 162.8 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8291, allocations: 1.438 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.8291, allocations: 0 / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8291, allocations: 1.5 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.8291, allocations: 0 / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8291, allocations: 5.531 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8291, allocations: 3.953 kB / 0.9585 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.026e-05/0.8292, allocations: 78 kB / 0.9585 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.8292, allocations: 78.95 kB / 0.9586 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.8293, allocations: 7.922 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.8293, allocations: 6 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.8293, allocations: 0 / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.8293, allocations: 5.766 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.374e-05/0.8293, allocations: 86.84 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8293, allocations: 0 / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000208/0.8296, allocations: 22.3 kB / 0.9587 GB, free: 3.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.8297, allocations: 102.8 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.8299, allocations: 119.3 kB / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8299, allocations: 0 / 0.9589 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.83, allocations: 9.938 kB / 0.9589 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.8302, allocations: 17.45 kB / 0.959 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.8304, allocations: 126.9 kB / 0.9591 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.8305, allocations: 0.6795 MB / 0.9597 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.84e-05/0.8306, allocations: 5.516 kB / 0.9598 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.8306, allocations: 9.75 kB / 0.9598 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8306, allocations: 4 kB / 0.9598 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.003232/0.8338, allocations: 0.9504 MB / 0.9607 GB, free: 2.215 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