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.0008415/0.0008416, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009616/0.0009616, allocations: 179 kB / 16.27 MB, free: 6.664 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.865/2.865, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005281, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6923, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0009124/0.6933, allocations: 349 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.6948, allocations: 1.109 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.6949, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.6949, allocations: 7.922 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.695, allocations: 3.984 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.6954, allocations: 109.9 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.6955, allocations: 75.89 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.6956, allocations: 8 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.316e-05/0.6957, allocations: 35.89 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/0.6958, allocations: 27.91 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6958, allocations: 4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.6959, allocations: 15.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.6959, allocations: 8 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.696, allocations: 45.62 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.6961, allocations: 79.77 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6962, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6962, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6962, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 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.0003934/0.6966, allocations: 363.2 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6966, allocations: 8.031 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.6967, allocations: 4.938 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.6968, allocations: 176.2 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6968, allocations: 384 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.6969, allocations: 8.375 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.963e-05/0.697, allocations: 42.23 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.697, allocations: 192 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.697, allocations: 7.938 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.697, allocations: 3.938 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.6971, allocations: 11.98 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.6975, allocations: 284.9 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.6975, allocations: 22.52 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.6975, allocations: 16.78 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.6975, allocations: 4 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.6977, allocations: 59.41 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.6977, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001777/0.6979, allocations: 61.67 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.6979, allocations: 51.41 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.698, allocations: 113.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.698, allocations: 29.7 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.6981, allocations: 88.08 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.6981, allocations: 7.906 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.6981, allocations: 17.72 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6982, allocations: 314.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.6983, allocations: 31.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.6984, allocations: 42.56 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.6985, allocations: 92.14 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6985, allocations: 3.938 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002282/0.6988, allocations: 139.3 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.6988, allocations: 41.69 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6988, allocations: 3.984 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6988, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.6989, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6989, allocations: 4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.6991, allocations: 36.06 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.6991, allocations: 7.984 kB / 1.027 GB, free: 11.61 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 9.441e-05/0.6993, allocations: 118.3 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.6993, allocations: 7.906 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.6993, allocations: 3.5 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6993, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6993, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6993, allocations: 240 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.6994, allocations: 169.6 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6994, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-06/0.6995, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6995, allocations: 3.984 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.6995, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6995, allocations: 4 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6995, allocations: 3.938 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.6996, allocations: 81.06 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.6996, allocations: 81.09 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6997, allocations: 4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.6997, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.6997, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.6997, allocations: 4.25 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.6998, allocations: 91.27 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6998, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002121/0.7, allocations: 16 kB / 1.027 GB, free: 10.93 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.0001472/0.7001, allocations: 99.25 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.7003, allocations: 123.3 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7004, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.7004, allocations: 15.92 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.7006, allocations: 11.94 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.7009, allocations: 130.8 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.7011, allocations: 0.6848 MB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.7012, allocations: 0 / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.7012, allocations: 11.44 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7012, allocations: 0 / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of Templates: time 0.003538/0.7047, allocations: 0.9871 MB / 1.029 GB, free: 8.812 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