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.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001407/0.001407, allocations: 193.1 kB / 16.13 MB, free: 6.648 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.629/2.629, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8685 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6955, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00217/0.6977, allocations: 0.6836 MB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.6996, allocations: 1.117 MB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.6997, allocations: 4 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.6998, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.6998, allocations: 3.938 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.7004, allocations: 107.7 kB / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.7006, allocations: 79.88 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.7007, allocations: 8 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.7008, allocations: 35.91 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.7009, allocations: 23.91 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.7009, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.701, allocations: 23.91 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.701, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.7011, allocations: 23.92 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.7012, allocations: 75.78 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.7012, allocations: 7.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.082e-06/0.7012, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7012, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 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.7017, allocations: 375.2 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7018, allocations: 8.031 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.7018, allocations: 8.844 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.702, allocations: 172.3 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.702, allocations: 4.375 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.702, allocations: 4.375 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.7021, allocations: 38.25 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.7021, allocations: 192 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7022, allocations: 7.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7022, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.7022, allocations: 8 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.7026, allocations: 296.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.7027, allocations: 22.52 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.7027, allocations: 8.859 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.7027, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.7028, allocations: 63.39 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.7028, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001761/0.703, allocations: 57.59 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.7031, allocations: 55.41 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.7032, allocations: 105.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.7032, allocations: 29.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.7033, allocations: 88.12 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.7033, allocations: 7.906 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.7034, allocations: 33.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7035, allocations: 314.8 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.7036, allocations: 27.98 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.7037, allocations: 50.5 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.7038, allocations: 88.38 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7038, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002844/0.7041, allocations: 147.3 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.7041, allocations: 37.69 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.7042, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7042, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.211e-05/0.7042, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7042, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.7044, allocations: 32 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.7045, allocations: 7.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 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.953e-05/0.7046, allocations: 118.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.7046, allocations: 7.906 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.7046, allocations: 3.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7046, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7046, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7046, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.7048, allocations: 169.6 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.7048, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-06/0.7048, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7048, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.7048, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7048, allocations: 320 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7048, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.705, allocations: 92.98 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.705, allocations: 81.11 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.705, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.438e-05/0.7051, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.7051, allocations: 4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.7051, allocations: 4 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.7052, allocations: 83.27 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7052, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002246/0.7054, allocations: 19.91 kB / 1.021 GB, free: 13.57 MB / 0.7794 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.0001565/0.7056, allocations: 107.2 kB / 1.021 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.7058, allocations: 119.3 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7058, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.7058, allocations: 15.92 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.706, allocations: 11.94 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.7063, allocations: 130.6 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.7066, allocations: 0.681 MB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.7066, allocations: 3.984 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.7066, allocations: 11.44 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.7066, allocations: 0 / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.003306/0.71, allocations: 0.9964 MB / 1.023 GB, free: 11.44 MB / 0.7794 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=480 -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/jenkins/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