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.0009817/0.0009817, allocations: 96.14 kB / 16.03 MB, free: 68 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.001203/0.001203, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.215 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.468/2.468, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7688, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.000884/0.7697, allocations: 353.2 kB / 0.9561 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.7712, allocations: 1.108 MB / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.7712, allocations: 0 / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.7713, allocations: 0 / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.7714, allocations: 5.094 kB / 0.9571 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.7718, allocations: 111.9 kB / 0.9573 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.772, allocations: 83.06 kB / 0.9573 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7721, allocations: 7.062 kB / 0.9573 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.7722, allocations: 32.67 kB / 0.9574 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.381e-05/0.7723, allocations: 22.55 kB / 0.9574 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.7723, allocations: 3.469 kB / 0.9574 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.7724, allocations: 18.52 kB / 0.9574 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.7724, allocations: 6.25 kB / 0.9574 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.7725, allocations: 50.61 kB / 0.9575 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.7726, allocations: 57.77 kB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7726, allocations: 1.094 kB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7726, allocations: 0 / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7726, allocations: 0 / 0.9575 GB, free: 6.355 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.0004544/0.7731, allocations: 362 kB / 0.9579 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7732, allocations: 8.625 kB / 0.9579 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.7732, allocations: 5.594 kB / 0.9579 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.343e-05/0.7733, allocations: 169.4 kB / 0.958 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.7733, allocations: 6.969 kB / 0.9581 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.7734, allocations: 7.562 kB / 0.9581 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.297e-05/0.7735, allocations: 33.81 kB / 0.9581 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7735, allocations: 192 / 0.9581 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.7735, allocations: 11.92 kB / 0.9581 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7735, allocations: 5.812 kB / 0.9581 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.7736, allocations: 3.594 kB / 0.9581 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.7739, allocations: 291.5 kB / 0.9584 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.774, allocations: 26.16 kB / 0.9584 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.774, allocations: 10.36 kB / 0.9584 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.774, allocations: 0 / 0.9584 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.7742, allocations: 65.81 kB / 0.9585 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7742, allocations: 5.219 kB / 0.9585 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002145/0.7744, allocations: 58 kB / 0.9585 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.7745, allocations: 57.12 kB / 0.9586 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.7745, allocations: 107.8 kB / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.7746, allocations: 28.3 kB / 0.9587 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.7746, allocations: 86.77 kB / 0.9588 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.7746, allocations: 12.78 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.7747, allocations: 13.47 kB / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/0.7747, allocations: 320.4 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.7748, allocations: 27.61 kB / 0.9592 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.215e-05/0.7749, allocations: 42.31 kB / 0.9592 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.775, allocations: 92.52 kB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.775, allocations: 5.156 kB / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002393/0.7752, allocations: 142 kB / 0.9594 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.7753, allocations: 36 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7753, allocations: 1.344 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.7753, allocations: 1.344 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.7753, allocations: 1.312 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7754, allocations: 1.031 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.7756, allocations: 40.03 kB / 0.9595 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.7757, allocations: 12.67 kB / 0.9595 GB, free: 4.293 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 8.48e-05/0.7758, allocations: 118.5 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.7758, allocations: 1.094 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.7758, allocations: 4.688 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7758, allocations: 5.531 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7758, allocations: 0 / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7758, allocations: 0 / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.7759, allocations: 171.6 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7759, allocations: 0 / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-06/0.7759, allocations: 1.469 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.776, allocations: 0 / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.776, allocations: 1.344 kB / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.776, allocations: 0 / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.776, allocations: 0 / 0.9598 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.7761, allocations: 86.59 kB / 0.9599 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.7761, allocations: 82.62 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.7761, allocations: 1.75 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.7762, allocations: 0 / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.7762, allocations: 5.5 kB / 0.96 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7762, allocations: 2.031 kB / 0.96 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.7762, allocations: 90.7 kB / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/0.7762, allocations: 0 / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.7765, allocations: 23.28 kB / 0.9601 GB, free: 3.668 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.0001596/0.7766, allocations: 96.72 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.7768, allocations: 119.7 kB / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7768, allocations: 0 / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.7769, allocations: 15.98 kB / 0.9603 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.7771, allocations: 16.12 kB / 0.9603 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.7774, allocations: 159.1 kB / 0.9605 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.7775, allocations: 0.6825 MB / 0.9612 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.7776, allocations: 9.031 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7776, allocations: 1.438 kB / 0.9612 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of Templates: time 0.002723/0.7803, allocations: 0.8439 MB / 0.962 GB, free: 2.168 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/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