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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001496/0.001496, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001555/0.001555, allocations: 192.3 kB / 17.2 MB, free: 5.609 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 76.73 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001848/0.2972, allocations: 0.6133 MB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2987, allocations: 1.114 MB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.2987, allocations: 0 / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.2988, allocations: 3.938 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.2989, allocations: 3.984 kB / 1.02 GB, free: 8.836 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.2993, allocations: 122.7 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2995, allocations: 87.83 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.922e-05/0.2995, allocations: 15.92 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.2996, allocations: 31.97 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.2997, allocations: 31.91 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.2997, allocations: 8 kB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.2998, allocations: 19.98 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.2998, allocations: 4 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.2999, allocations: 27.91 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3001, allocations: 83.8 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3001, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3001, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.3001, allocations: 0 / 1.02 GB, free: 8.414 MB / 0.795 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.000484/0.3006, allocations: 377.4 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3006, allocations: 12.92 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.3007, allocations: 12.84 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3008, allocations: 172.4 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.3008, allocations: 384 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3008, allocations: 4.375 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.92e-05/0.3009, allocations: 46.19 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.3009, allocations: 192 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.301, allocations: 3.938 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.301, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.301, allocations: 4 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.3014, allocations: 292.9 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.3015, allocations: 30.45 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.3015, allocations: 4.859 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.3015, allocations: 0 / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.3016, allocations: 63.45 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/0.3016, allocations: 3.984 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001719/0.3018, allocations: 69.47 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3019, allocations: 55.41 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.302, allocations: 101.8 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.302, allocations: 29.7 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.3021, allocations: 84.14 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.3021, allocations: 11.89 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.3021, allocations: 33.7 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3023, allocations: 314.8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.3024, allocations: 31.98 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.3025, allocations: 42.56 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3026, allocations: 88.14 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3026, allocations: 4 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002696/0.3029, allocations: 143.3 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.3029, allocations: 37.7 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3029, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3029, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.47e-05/0.303, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.303, allocations: 4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3032, allocations: 35.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3032, allocations: 8.094 kB / 1.022 GB, free: 6.066 MB / 0.795 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.605e-05/0.3033, allocations: 117.8 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.3033, allocations: 4 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.3034, allocations: 3.5 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3034, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3034, allocations: 320 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3034, allocations: 7.922 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.3035, allocations: 165.6 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3035, allocations: 4 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-06/0.3036, allocations: 4 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3036, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3036, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3036, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3036, allocations: 0 / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3037, allocations: 85.05 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3037, allocations: 81.02 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3038, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.3038, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3038, allocations: 8 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3038, allocations: 3.984 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.3039, allocations: 83.28 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3039, allocations: 3.938 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002082/0.3041, allocations: 16 kB / 1.023 GB, free: 5.391 MB / 0.795 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.0001447/0.3043, allocations: 113.1 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3045, allocations: 119.4 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3045, allocations: 4.188 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.3045, allocations: 12.22 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.3047, allocations: 15.92 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.305, allocations: 143.9 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3053, allocations: 0.6807 MB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.634e-05/0.3054, allocations: 11.44 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3054, allocations: 0 / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of Templates: time 0.002591/0.308, allocations: 0.8642 MB / 1.025 GB, free: 3.367 MB / 0.795 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=400 -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