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.007728/0.007728, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001379/0.001379, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.592/2.592, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.34 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3269, allocations: 140.4 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001785/0.3287, allocations: 0.6067 MB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3301, allocations: 1.118 MB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.3301, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.3301, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.363e-05/0.3302, allocations: 11.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.3307, allocations: 121.7 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.3308, allocations: 91.83 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.3309, allocations: 8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.331, allocations: 35.95 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.3311, allocations: 27.91 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3311, allocations: 8 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.571e-05/0.3312, allocations: 23.92 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3312, allocations: 7.984 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3313, allocations: 35.91 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3314, allocations: 79.78 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3314, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3314, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3315, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 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.0004696/0.3319, allocations: 373.2 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.332, allocations: 8.031 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.332, allocations: 8.844 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3321, allocations: 164.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3322, allocations: 384 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3322, allocations: 16.38 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.3323, allocations: 38.25 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3323, allocations: 4.172 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3323, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.3323, allocations: 7.875 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.3324, allocations: 11.98 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.3327, allocations: 284.9 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.3328, allocations: 26.52 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.3328, allocations: 8.844 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3328, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.3329, allocations: 59.41 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.333, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000179/0.3331, allocations: 65.58 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.3332, allocations: 55.41 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.3333, allocations: 105.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3333, allocations: 29.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.3334, allocations: 96.02 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.3334, allocations: 7.844 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.3334, allocations: 29.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3336, allocations: 314.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.3336, allocations: 31.97 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.3337, allocations: 46.56 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3338, allocations: 84.2 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3338, allocations: 3.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00022/0.3341, allocations: 143.3 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.3341, allocations: 33.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3341, allocations: 3.984 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3341, allocations: 96 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.3342, allocations: 8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3342, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3344, allocations: 27.88 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.3344, allocations: 8 kB / 1.092 GB, free: 12.91 MB / 0.8575 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.36e-05/0.3345, allocations: 113.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.3345, allocations: 7.984 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.3345, allocations: 7.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3345, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3345, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3345, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3347, allocations: 165.6 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3347, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.3347, allocations: 320 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3347, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3347, allocations: 7.984 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3347, allocations: 3.984 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3347, allocations: 7.938 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.3348, allocations: 85.28 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.3349, allocations: 84.95 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.3349, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.3349, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3349, allocations: 3.984 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3349, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.48e-05/0.335, allocations: 83.28 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.335, allocations: 3.938 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002085/0.3352, allocations: 24 kB / 1.093 GB, free: 12.22 MB / 0.8575 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.000176/0.3354, allocations: 103.2 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3356, allocations: 123.3 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3357, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.3357, allocations: 8 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.3359, allocations: 15.92 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3362, allocations: 118.3 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3366, allocations: 0.6807 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.3366, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.3366, allocations: 11.44 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3366, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.003473/0.3401, allocations: 1.045 MB / 1.095 GB, free: 10.06 MB / 0.8575 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