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.001152/0.001152, allocations: 106.4 kB / 16.37 MB, free: 6.477 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.001176/0.001176, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.16 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3039, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002365/0.3063, allocations: 0.6122 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.308, allocations: 1.115 MB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3081, allocations: 4 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3081, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.3082, allocations: 7.922 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.3088, allocations: 123.1 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.309, allocations: 99.83 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3091, allocations: 7.984 kB / 0.9531 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.109e-05/0.3092, allocations: 31.97 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3093, allocations: 35.89 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3093, allocations: 8 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.3094, allocations: 23.92 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.3095, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.3095, allocations: 31.91 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.3097, allocations: 83.78 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3097, allocations: 0 / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3097, allocations: 4 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3097, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7325 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.0005235/0.3103, allocations: 369.1 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3103, allocations: 12.03 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3104, allocations: 4.938 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3105, allocations: 164.3 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3105, allocations: 16.36 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3105, allocations: 4.375 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3106, allocations: 38.23 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.3107, allocations: 4.125 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3107, allocations: 7.938 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3107, allocations: 0 / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.3107, allocations: 8 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3111, allocations: 284.9 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.3112, allocations: 26.52 kB / 0.9542 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.3112, allocations: 16.86 kB / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.3112, allocations: 0 / 0.9542 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.3113, allocations: 59.33 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3114, allocations: 0 / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001835/0.3115, allocations: 61.59 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3116, allocations: 55.41 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.3117, allocations: 113.8 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3117, allocations: 25.7 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.3118, allocations: 88.08 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.3118, allocations: 7.906 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3119, allocations: 29.7 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.312, allocations: 314.8 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.3121, allocations: 27.98 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.3122, allocations: 50.56 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3123, allocations: 84.14 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3123, allocations: 0 / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002623/0.3126, allocations: 147.3 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.3127, allocations: 41.69 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3127, allocations: 0 / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3127, allocations: 4.094 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.827e-05/0.3127, allocations: 4 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3127, allocations: 0 / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3129, allocations: 28.22 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.313, allocations: 4 kB / 0.9553 GB, free: 3.52 MB / 0.7325 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 0.0001296/0.3131, allocations: 123.7 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.3131, allocations: 7.906 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.366e-05/0.3132, allocations: 11.5 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3132, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3132, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3132, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3134, allocations: 165.8 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3134, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.3134, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3134, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3134, allocations: 7.984 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3134, allocations: 3.938 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3134, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.3136, allocations: 81.06 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.3136, allocations: 77.11 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3137, allocations: 7.984 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.269e-05/0.3137, allocations: 0 / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3137, allocations: 4 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3137, allocations: 0 / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.3138, allocations: 79.28 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3138, allocations: 11.88 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002257/0.314, allocations: 19.98 kB / 0.9559 GB, free: 2.832 MB / 0.7325 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.000216/0.3143, allocations: 107.2 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.3145, allocations: 119.3 kB / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3146, allocations: 0 / 0.9561 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.3146, allocations: 15.98 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.3148, allocations: 10.12 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3152, allocations: 126.2 kB / 0.9562 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3155, allocations: 0.6844 MB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.844e-05/0.3155, allocations: 0 / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.3155, allocations: 11.44 kB / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.3155, allocations: 0 / 0.9569 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of Templates: time 0.004061/0.3196, allocations: 1.039 MB / 0.9579 GB, free: 0.668 MB / 0.7325 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 -s gbode -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